Automation program

7 years 11 months ago #3618 by stefanovicpeter@gmail.com
Hi, i instaled easyiot server on raspberry. It runs as service. Everything works but when i add program (i have esp8266 nodemcu with relay as virtual driver) and restart server or for example after power failure i still have to disable and enable program to trigger relay again. It is bug or i doing something wrong? Installed version 0.9. Thanks for your advice.
The following user(s) said Thank You: sharonlei

Please Log in or Create an account to join the conversation.

7 years 11 months ago - 7 years 11 months ago #3622 by EasyIoT
Replied by EasyIoT on topic Automation program

stefanovicpeter@gmail.com wrote: Hi, i instaled easyiot server on raspberry. It runs as service. Everything works but when i add program (i have esp8266 nodemcu with relay as virtual driver) and restart server or for example after power failure i still have to disable and enable program to trigger relay again. It is bug or i doing something wrong? Installed version 0.9. Thanks for your advice.


I think this happens if you do not shutdown server in config menu. Go in config menu and shutdown EasyIoT server first. That way server will properly save program enable settings.
The following user(s) said Thank You: sharonlei

Please Log in or Create an account to join the conversation.

7 years 10 months ago #3654 by stefanovicpeter@gmail.com
hi i tried it, but it is matter what i do. save configuration and shutdown server. after that i still need to reenable automation program to run it. :-(

Please Log in or Create an account to join the conversation.

7 years 10 months ago #3656 by essenemari
Replied by essenemari on topic Automation program
Hi,

For example: relay is on, switch is on > server reboot > server up > click to switch OFF but relay still on? That's correct? If yes, then I can observe similar behavior up to about minute after EasyIoT server rebooted. But after about minute, when I click switch ON/OFF it starts to work OK. Immediate disable/enable automation program seems that corrects it as well as waiting about minute.

Please confirm if your observation is the same.

Please Log in or Create an account to join the conversation.

7 years 10 months ago #3657 by stefanovicpeter@gmail.com
yes, as you described. but when i wait one minute or 5 minute or hour still dont work until i manually reenable program. i also tried 9beta release. it is the same :-(.

it is running on rpi with raspbian

Please Log in or Create an account to join the conversation.

7 years 10 months ago - 7 years 10 months ago #3659 by stefanovicpeter@gmail.com
hi, in 0.9beta relase is not enought to reenable program after reboot. it is necessary to click on edit program and then click on update program. after that i can use switch to control relay.

here is log after restart rpi
2017-01-16T21:39:18.8789090+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	Webinterface	IsAdmin	/Api/EasyIoT/Config/Webinterface/IsAdmin//?_=1484598941332
2017-01-16T21:39:19.9134520+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941333
2017-01-16T21:39:21.1326640+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941334
2017-01-16T21:39:22.1404510+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	16	/Api/EasyIoT/Config/AutomationProgram/16/List//?_=1484598941335
2017-01-16T21:39:23.1714470+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	16	/Api/EasyIoT/Config/AutomationProgram/16/List//?_=1484598941336
2017-01-16T21:39:24.1029740+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	16	/Api/EasyIoT/Config/AutomationProgram/16/Update//
2017-01-16T21:39:24.8155430+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	16	/Api/EasyIoT/Config/AutomationProgram/16/List//?_=1484598941337
2017-01-16T21:39:25.7764000+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	16	/Api/EasyIoT/Config/AutomationProgram/16/SetEnabled/0/
2017-01-16T21:39:26.1241650+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	16	/Api/EasyIoT/Config/AutomationProgram/16/SetEnabled/1/
2017-01-16T21:39:27.2053370+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941338
2017-01-16T21:39:28.7046500+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	17	/Api/EasyIoT/Config/AutomationProgram/17/List//?_=1484598941339
2017-01-16T21:39:30.2665370+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	17	/Api/EasyIoT/Config/AutomationProgram/17/List//?_=1484598941340
2017-01-16T21:39:31.1484210+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	17	/Api/EasyIoT/Config/AutomationProgram/17/Update//
2017-01-16T21:39:31.9623650+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	17	/Api/EasyIoT/Config/AutomationProgram/17/List//?_=1484598941341
2017-01-16T21:39:32.7286040+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941342
2017-01-16T21:39:33.3894900+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941343
2017-01-16T21:39:34.9991470+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	Module	List	/Api/EasyIoT/Config/Module/List//?_=1484598941344
2017-01-16T21:39:35.0264440+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	Group	List	/Api/EasyIoT/Config/Group/List/?_=1484598941345
2017-01-16T21:39:37.0396310+01:00	INFO	EasyIoTWebinterface	EasyIoTControl	Module	Virtual	/Api/EasyIoT/Control/Module/Virtual/N2S0/ControlOff//
2017-01-16T21:39:37.0400700+01:00	INFO	Virtual	N2S0	Sensor.DigitalValue	0	-
2017-01-16T21:39:42.7565060+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	Webinterface	IsAdmin	/Api/EasyIoT/Config/Webinterface/IsAdmin//?_=1484598941346
2017-01-16T21:39:43.7961430+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941347
2017-01-16T21:39:46.4650320+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941348
2017-01-16T21:39:48.4823400+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	18	/Api/EasyIoT/Config/AutomationProgram/18/List//?_=1484598941349
2017-01-16T21:39:49.7180190+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	18	/Api/EasyIoT/Config/AutomationProgram/18/List//?_=1484598941350
2017-01-16T21:39:50.6940130+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	18	/Api/EasyIoT/Config/AutomationProgram/18/Update//
2017-01-16T21:39:51.4824760+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	18	/Api/EasyIoT/Config/AutomationProgram/18/List//?_=1484598941351
2017-01-16T21:39:52.3184930+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941352
2017-01-16T21:39:53.4865850+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	19	/Api/EasyIoT/Config/AutomationProgram/19/List//?_=1484598941353
2017-01-16T21:39:55.4487870+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	19	/Api/EasyIoT/Config/AutomationProgram/19/List//?_=1484598941354
2017-01-16T21:39:56.5363120+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	19	/Api/EasyIoT/Config/AutomationProgram/19/Update//
2017-01-16T21:39:57.7007140+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationProgram	19	/Api/EasyIoT/Config/AutomationProgram/19/List//?_=1484598941355
2017-01-16T21:39:58.4147880+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941356
2017-01-16T21:39:59.1716210+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	AutomationGroup	List	/Api/EasyIoT/Config/AutomationGroup/List/?_=1484598941357
2017-01-16T21:40:03.3403730+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	Driver	Esp8266	/Api/EasyIoT/Config/Driver/Esp8266/GetIsEnabled//?_=1484598941358
2017-01-16T21:40:03.3409860+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	Driver	Esp8266	/Api/EasyIoT/Config/Driver/Esp8266/GetDebugMode//?_=1484598941359
2017-01-16T21:40:03.3448130+01:00	INFO	EasyIoTWebinterface	EasyIoTConfig	Driver	Esp8266	/Api/EasyIoT/Config/Driver/Esp8266/GetPort/?_=1484598941360

Please Log in or Create an account to join the conversation.

Time to create page: 0.447 seconds

Forum latest

  • No posts to display.