hi,
I was using Openhab on an ubuntu 14 since month with many sensor based on espeasy firmware with esp8266 chip.
No problem, all was working nice.
I tried to add a remote power plug with button.
After that My openhab hang randomly after I used my remote plug.
Habopen is responding, I can click on switch but no update are made.
Logs are no more logging, like all was stopped suddenly.
I was suspecting an hardware problem on my ubuntu so i move to a virtualized windows 2016 and the same problems happens even with Openhab updated to milestone 2.5.0.M1.
If the remote power plug is not plug, no problem.
here is my items for the plug :
Switch ESP_Prise_Piscine “Prise 1 [%s]” (atelier,prise){mqtt=">[mosquitto:/ESP_Prise_Piscine/gpio/14:command:ON:1],>[mosquitto:/ESP_Prise_Piscine/gpio/14:command:OFF:0],<[mosquitto:/ESP_Prise_Piscine/Relai/State:command:MAP(switch.map)]"}
On the remote power with latest espeasy firmware with this rule :
On System#Boot do
Monitor GPIO,14
Publish %sysname%/IP,%ip%
timerSet,1,10
endon
On Rules#Timer=1 do
Publish %sysname%/IP,%ip%
timerSet,1,600
endon
on GPIO#14=1 do
TaskValueSet 2,1,1
endon
on GPIO#14=0 do
TaskValueSet 2,1,0
endon
on bouton#State Do
if [bouton#State]=1
GPIOtoggle,14
endif
endon
And a generic dummy device send his state each 10s. The state is the taskvalueset of the the rules.
I can provide more log or other.
I hope to have been clear.
have you an idea of what is the problem ?
Thanks in advance.