Vraag


Acties:
  • 0 Henk 'm!

  • Langerakpc
  • Registratie: Juli 2014
  • Laatst online: 18:17
Mijn vraag
Is er iemand die deze bluetooth radiatorknop in domoticz heeft weten te koppelen?

Relevante software en hardware die ik gebruik
Domoticz
Raspberry 3B
Link naar handleiding domoticz site https://domoticz.com/forum/viewtopic.php?f=34&t=25544

Wat ik al gevonden of geprobeerd heb
Ik heb op de site van Domoticz iemand gevonden met een stappenplan om de radiatorknop in domoticz te zetten. Echter loop ik halverwege vast bij
"Now you go in the script folder and play:

Code: Select all

./eq3.exp MAC_CC-RT-BLE sync"

De fout die ik krijg is:
pi@raspberrypi:~ $ ./eq3.exp 00:1A:22:13:8F:7E
bash: ./eq3.exp: Toegang geweigerd
pi@raspberrypi:~ $

Heeft iemand een idee wat ik verkeerd doe?

Alle reacties


Acties:
  • 0 Henk 'm!

  • Rouwette
  • Registratie: Maart 2007
  • Laatst online: 10-09 23:39

Rouwette

Rouwette.com

Probeer eens:
code:
1
sudo ./eq3.exp 00:1A:22:13:8F:7E

https://www.rouwette.com/


Acties:
  • 0 Henk 'm!

  • Langerakpc
  • Registratie: Juli 2014
  • Laatst online: 18:17
ik krijg het volgende

pi@raspberrypi:~ $ sudo ./eq3.exp 00:1A:22:13:8F:7E
sudo: ./eq3.exp: opdracht niet gevonden

het pad heb ik ook geprobeerd /home/pi.....
Dit is de inhoud van het bestand waar hij heen gaat.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$ ./eq3.exp 00:1A:22:13:8F:7E

Full-featured CLI for radiator thermostat eQ-3 CC-RT-BLE

Usage: <mac> <command> <parameters...>

Sync:
 sync                                           - Syncs time and prints target temperature and mode

Mode:
 auto                                           - Sets auto mode and deactivates vacation mode if active.
 manual                                         - Sets manual mode and deactivates vacation mode if active.

Temperature:
 comfort                                        - Sets target temperature to programmed comfort temperature
 eco                                            - Sets target temperature to programmed eco temperature
 boost                                          - Activates boost mode for 5 minutes
 boost off                                      - Deactivates boost mode
 temp <temp>                                    - Sets target temperature to given value
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5
 on                                             - Sets thermostat to permanent on (30°C)
 off                                            - Sets thermostat to permanent off (4.5°C)

Timers:
 timers                                         - Reads all timers and prints them human friendly
 timer-settings                                 - Reads all timers and prints them ready for re-configuration
 timer <day>                                    - Reads timer for given day
 timer <day> <base> <hh:mm> <temp> <hh:mm> ...  - Sets timer for given day and up to 7 events with temperature and time
                                                  day:  mon, tue, wed, thu, fri, sat, sun, work, weekend, everyday, today, tomorrow
                                                  base temperature before first and after last schedule: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5 
                                                  target temperature 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5 
                                                  hh:mm: time where minutes must be in intervals of 10 minutes, e.g. 23:40
 vacation <yy-mm-dd> <hh:mm> <temp>             - Activates vacation mode until date and time and temperature in °C
                                                  yy-mm-dd: until date, e.g. 17-03-31
                                                  hh:mm: until time where minutes must be 00 or 30, e.g. 23:30
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5 
 vacation <hh> <temp>                           - Activates vacation mode for given period in hours and temperature in °C
                                                  hh: Period in hours
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5

Configuration:
 comforteco <temp_comfort> <temp_eco>           - Sets comfort and eco temperature in °C
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5
 window <temp> <hh:mm>                          - Sets temperature in °C and period for open window mode
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5 
                                                  hh:mm: time where minutes in intervals of 5 minutes, e.g. 02:05
 offset <offset>                                - Sets the offset temperature in °C
                                                  offset: temperature between -3.5 and 3.5 in intervals of 0.5°C, e.g. 1.5

Others:
 lock                                           - Locks thermostat (LOC). No PIN required!
 unlock                                         - Unlocks thermostat. No PIN required!
 serial                                         - Prints serial of thermostat (see little badge where batteries are) and PIN that is required to pair device in official app
 status                                         - Syncs time, Prints target temperature, mode and timers
                                                  (in debug mode also last command even of official app, set log_user to 1 in code!)
 json                                           - Simular to status but in json format
 clear                                          - Clear buffer of last request (will be printed in debug mode, set log_user to 1 in code!)
 reset                                          - Factory reset

Acties:
  • 0 Henk 'm!

  • AJ72
  • Registratie: April 2017
  • Laatst online: 17-05 21:00
Ik heb Eqiva bluetooth radiatorkranen, en kan ze aansturen met de raspberry pi, vanaf de command line.

De pin code heb je niet nodig. Als je deze stappen volgt
zoek het mac adres op bv met bltmgmt

bluetoothctl
pairable on
scan on
noteer het mac adres

knopje vasthouden tot er pair staat, dan gelijk
pair mac_adres
daarna
connect mac_adres
disconnect mac_adres
quit

Dan met ./eq3.exp mac_adres sync
Bij mij werkt het

Probleem 1: de afstand tussen de Pi en de radiator kraan
Probleem 2: hoe krijg ik dit nu in domoticz?

Ik zoek nog even verder.

Acties:
  • 0 Henk 'm!

  • grote_oever
  • Registratie: Augustus 2002
  • Laatst online: 08-09 08:47
Langerakpc schreef op vrijdag 24 juli 2020 @ 07:01:
ik krijg het volgende

pi@raspberrypi:~ $ sudo ./eq3.exp 00:1A:22:13:8F:7E
sudo: ./eq3.exp: opdracht niet gevonden

het pad heb ik ook geprobeerd /home/pi.....
Dit is de inhoud van het bestand waar hij heen gaat.

code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
$ ./eq3.exp 00:1A:22:13:8F:7E

Full-featured CLI for radiator thermostat eQ-3 CC-RT-BLE

Usage: <mac> <command> <parameters...>

Sync:
 sync                                           - Syncs time and prints target temperature and mode

Mode:
 auto                                           - Sets auto mode and deactivates vacation mode if active.
 manual                                         - Sets manual mode and deactivates vacation mode if active.

Temperature:
 comfort                                        - Sets target temperature to programmed comfort temperature
 eco                                            - Sets target temperature to programmed eco temperature
 boost                                          - Activates boost mode for 5 minutes
 boost off                                      - Deactivates boost mode
 temp <temp>                                    - Sets target temperature to given value
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5
 on                                             - Sets thermostat to permanent on (30°C)
 off                                            - Sets thermostat to permanent off (4.5°C)

Timers:
 timers                                         - Reads all timers and prints them human friendly
 timer-settings                                 - Reads all timers and prints them ready for re-configuration
 timer <day>                                    - Reads timer for given day
 timer <day> <base> <hh:mm> <temp> <hh:mm> ...  - Sets timer for given day and up to 7 events with temperature and time
                                                  day:  mon, tue, wed, thu, fri, sat, sun, work, weekend, everyday, today, tomorrow
                                                  base temperature before first and after last schedule: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5 
                                                  target temperature 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5 
                                                  hh:mm: time where minutes must be in intervals of 10 minutes, e.g. 23:40
 vacation <yy-mm-dd> <hh:mm> <temp>             - Activates vacation mode until date and time and temperature in °C
                                                  yy-mm-dd: until date, e.g. 17-03-31
                                                  hh:mm: until time where minutes must be 00 or 30, e.g. 23:30
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5 
 vacation <hh> <temp>                           - Activates vacation mode for given period in hours and temperature in °C
                                                  hh: Period in hours
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5

Configuration:
 comforteco <temp_comfort> <temp_eco>           - Sets comfort and eco temperature in °C
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5
 window <temp> <hh:mm>                          - Sets temperature in °C and period for open window mode
                                                  temp: 5.0 to 29.5 in intervals of 0.5°C, e.g. 19.5 
                                                  hh:mm: time where minutes in intervals of 5 minutes, e.g. 02:05
 offset <offset>                                - Sets the offset temperature in °C
                                                  offset: temperature between -3.5 and 3.5 in intervals of 0.5°C, e.g. 1.5

Others:
 lock                                           - Locks thermostat (LOC). No PIN required!
 unlock                                         - Unlocks thermostat. No PIN required!
 serial                                         - Prints serial of thermostat (see little badge where batteries are) and PIN that is required to pair device in official app
 status                                         - Syncs time, Prints target temperature, mode and timers
                                                  (in debug mode also last command even of official app, set log_user to 1 in code!)
 json                                           - Simular to status but in json format
 clear                                          - Clear buffer of last request (will be printed in debug mode, set log_user to 1 in code!)
 reset                                          - Factory reset
Je vergeet sync achter je commando te zetten. Achter je macadres verwacht hij nog wat.

Acties:
  • 0 Henk 'm!

  • YJB
  • Registratie: Augustus 2003
  • Laatst online: 18:03

YJB

AJ72 schreef op zondag 8 november 2020 @ 18:36:


Probleem 1: de afstand tussen de Pi en de radiator kraan
Simon is bezig om de thermostaat via ESP32 modules die Tasmota draaien een te sturen. Je kunt dan via MQTT de TRV's besturen. Voordeel, meerdere ESP32 modules in je huis zodat de afstand niet langer een probleem is.

https://github.com/arendst/Tasmota/pull/10600

Acties:
  • 0 Henk 'm!

  • kroonen
  • Registratie: Augustus 2008
  • Laatst online: 12:44
@YJB

Zit het dan in laatste development build van tasmota al of moet ik deze pakken?

https://github.com/btsimo...tree/EQ3_BLE_ESP32_XDRV53

Acties:
  • 0 Henk 'm!

  • YJB
  • Registratie: Augustus 2003
  • Laatst online: 18:03

YJB

@kroonen

Sorry voor het late antwoord.

Nee zit nog niet in de TAS dev build. Laatste versie:
TAS - EQ3

Is nog in dev state, dat betekent dat zaken als MQTT topics nog iets "fluid" zijn. Maar werkt prima.

[ Voor 26% gewijzigd door YJB op 13-03-2021 20:29 . Reden: Link update ]


Acties:
  • 0 Henk 'm!

  • kroonen
  • Registratie: Augustus 2008
  • Laatst online: 12:44
De link is nu dood, betekend dat dat het gestopt is of al we in de development zit van tasmota?

Acties:
  • 0 Henk 'm!

  • YJB
  • Registratie: Augustus 2003
  • Laatst online: 18:03

YJB

Alleen de BLE component zit nu in de tasmota32-bluetooth build. De EQ3 extensie is nog niet gereleased, al komt een release nu wel dichtbij.

Link geupdated.

Bij gebruik van meerdere ESP's:

Alle ESP's geven de status door via het zelfde topic:
stat/EQ3/<trvalias)

En als je een grouptopic gebruikt zijn alle trv's ook aan te sturen zonder dat je je druk hoeft te maken over welke ESP32 het beste bereik heeft.


Voorbeeld van een autoexec.bat (nieuw in tasmota als een alternatief voor rules):

BLEAlias 001A2216A458=EQ3kamer1
BLEAlias 001A2216A864=EQ3kamer2

Acties:
  • +1 Henk 'm!

  • kroonen
  • Registratie: Augustus 2008
  • Laatst online: 12:44
Hoi,

De tasmota build gedaan, en het lijkt te werken


code:
1
2
3
22:35:09.837 EQ3 001A220B5533: cmd: [poll] [] []
22:35:11.859 MQT: stat/EQ3/001A220B5533 = {"cmd":"poll","result":"ok","MAC":"001A220B5533","tas":"Z2T32","RSSI":-74,"stattime":1616103311,"temp":16.0,"posn":0,"mode":"manual","hassmode":"idle","boost":"inactive","dst":"set","window":"closed","state":"unlocked","battery":"GOOD"}
22:35:11.889 MQT: tele/z2t32/BLE = {"BLEOperation":{"opid":"0","stat":"7","state":"DONENOTIFIED","MAC":"001A220B5533","u":"128","svc":"3e135142-654f-9090-134a-a6ff5bb77046","char":"3fa4585a-ce4a-3bad-db4b-b8df8179ea09","notifychar":"d0e8434d-cd29-0996-af41-6c90f4e0eb2a","write":"03150312162309000000000000000000","notify":"020109000420"}}


Nu nog een juiste config in homeassistant zien te vinden

Acties:
  • 0 Henk 'm!

  • flyingpenguin
  • Registratie: Januari 2020
  • Laatst online: 26-03 17:15
Heb me rotgezocht naar een tasmota32.bin FW met de driver voor de EQ3 erin..

Wie o wie helpt me uit de brand?

BVB dank Joost

  • YJB
  • Registratie: Augustus 2003
  • Laatst online: 18:03

YJB

Je zal em zelf nog moeten builden. Er staat een PR uit om de code te integreren, maar dat is nog niet klaar Theo is op vakantie):
Tasmota PR

Laatste source:
EQ3 source

Als je geen build environment hebt kun je ook gitpod gebruiken:
EQ3 Discussion

Acties:
  • 0 Henk 'm!

  • YJB
  • Registratie: Augustus 2003
  • Laatst online: 18:03

YJB

Kleine update:

De EQ3 code zit nu (Tasmota V10.0.0) in de standaard tasmota-bluetooth build.
Pagina: 1