@@ -18,16 +18,16 @@ to obey commands.
18
18
19
19
On first use the ESP32 will start in access-point mode appearing as 'HeatingController'. Connect to this
20
20
AP (password is 'password') and browse to the device IP address (192.168.4.1). The device configuration
21
- parameters can be set here:
22
- ssid - the AP to connect to for normal operation
23
- password - the password for the AP
24
- mqtturl - url to access the mqtt broker
25
- mqttuser - mqtt broker username
26
- mqttpass - mqtt broker password
27
- mqttid - the unique id for this device to use with the mqtt broker
28
- ip - fixed IP for WiFi network (leave blank to DHCP)
29
- gw - gateway IP for WiFi network (leave blank for DHCP)
30
- netmask - netmask for WiFi network (leave blank for DHCP)
21
+ parameters can be set here:
22
+ ssid - the AP to connect to for normal operation
23
+ password - the password for the AP
24
+ mqtturl - url to access the mqtt broker
25
+ mqttuser - mqtt broker username
26
+ mqttpass - mqtt broker password
27
+ mqttid - the unique id for this device to use with the mqtt broker
28
+ ip - fixed IP for WiFi network (leave blank to DHCP)
29
+ gw - gateway IP for WiFi network (leave blank for DHCP)
30
+ netmask - netmask for WiFi network (leave blank for DHCP)
31
31
32
32
Once connected in WiFi STA mode this application first scans for EQ-3 valves and publishes their addresses
33
33
to the MQTT broker. A scan can be initiated at any time by publishing to the /<mqttid >radin/scan topic.
@@ -58,9 +58,9 @@ The application can be forced into config mode by pressing and holding the BOOT
58
58
web server is part of Mongoose - https://github.com/cesanta/mongoose
59
59
MQTT library is https://github.com/tuanpmt/espmqtt
60
60
61
- Testing:
62
- connect to a mosquitto broker.
63
- mosquitto_sub -h 127.0.0.1 -p 1883 -t "<mqttid >radout/devlist" - will display a list of discovered EQ-3 TRVs
64
- mosquitto_sub -h 127.0.0.1 -p 1883 -t "<mqttid >radout/status" - will show a status message each time a trv is contacted
65
- mosquitto_pub -h 127.0.0.1 -p 1883 -t "<mqttid >radin/trv" -m "ab:cd : ef:gh:ij: kl settemp 20.0" set trv temp to 20 degrees
61
+ Testing:
62
+ connect to a mosquitto broker.
63
+ mosquitto_sub -h 127.0.0.1 -p 1883 -t "<mqttid >radout/devlist" - will display a list of discovered EQ-3 TRVs
64
+ mosquitto_sub -h 127.0.0.1 -p 1883 -t "<mqttid >radout/status" - will show a status message each time a trv is contacted
65
+ mosquitto_pub -h 127.0.0.1 -p 1883 -t "<mqttid >radin/trv" -m "ab:cd : ef:gh:ij: kl settemp 20.0" set trv temp to 20 degrees
66
66
0 commit comments