@wutu
today i update my esp to espeasy build 103
now, i cant control my relays with pimatic
it works with my browser, e.g.
http://192.168.1.226/control?cmd=GPIO,15,1
http://192.168.1.226/control?cmd=GPIO,15,0
but not with pimatic
plugin mqtt 0.8.9 is installed
my config:
{
"plugin": "mqtt",
"host": "127.0.0.1",
"port": 1883
}
{
"class": "MqttSwitch",
"id": "ESPeasyR1",
"name": "Beleuchtung (R1)",
"topic": "/espeasy01/gpio/12",
"stateTopic": "/espeasy01/Beleuchtung_R1/state",
"onMessage": "1",
"offMessage": "0"
},
{
"class": "MqttSwitch",
"id": "ESPeasyR2",
"name": "Beleuchtung (R2)",
"topic": "/espeasy01/gpio/13",
"stateTopic": "/espeasy01/Beleuchtung_R2/state",
"onMessage": "1",
"offMessage": "0"
},
{
"class": "MqttSwitch",
"id": "ESPeasyR3",
"name": "Beleuchtung (R3)",
"topic": "/espeasy01/gpio/14",
"stateTopic": "/espeasy01/Beleuchtung_R3/state",
"onMessage": "1",
"offMessage": "0"
},
{
"class": "MqttSwitch",
"id": "ESPeasyR4",
"name": "Heizung (R4)",
"topic": "/espeasy01/gpio/15",
"stateTopic": "/espeasy01/Heizung_R4/state",
"onMessage": "1",
"offMessage": "0"
}
mosquttito works also fine
pi@raspberrypi:~ $ sudo service mosquitto status
● mosquitto.service - LSB: mosquitto MQTT v3.1 message broker
Loaded: loaded (/etc/init.d/mosquitto)
Active: active (running) since Do 2016-04-21 21:23:16 CEST; 23h ago
CGroup: /system.slice/mosquitto.service
└─2166 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
Apr 21 21:23:16 raspberrypi mosquitto[2161]: Starting network daemon:: mosqu....
Apr 21 21:23:16 raspberrypi systemd[1]: Started LSB: mosquitto MQTT v3.1 mes....
Hint: Some lines were ellipsized, use -l to show in full.
pi@raspberrypi:~ $ mosquitto_sub -v -t /# /espeasy01/Temperatur/Temperature 18.81
/espeasy01/Beleuchtung_R1/state 0
/espeasy01/Beleuchtung_R2/state 0
/espeasy01/Beleuchtung_R3/state 0
/espeasy01/Heizung_R4/state 0
/espeasy01/system/uptime 72.00
/espeasy01/system/freeram 26656.00
/espeasy01/Temperatur/Temperature 18.81
/espeasy01/Beleuchtung_R1/state 0
/espeasy01/Beleuchtung_R2/state 0
^C
pi@raspberrypi:~ $
EspEasy Log:
5160390 : SW : State 0.00
5161449 : SYS : 72.00
5162418 : SYS : 26656.00
5164354 : DS : Temperature: 18.81 (28-ff-4a-a6-71-15-2-57)
5164586 : SW : State 0.00
5165599 : SW : State 0.00
5166612 : SW : State 0.00
5167693 : SW : State 0.00
5168749 : SYS : 72.00
5169719 : SYS : 26768.00
...
