Blocky script not working any more after update 4.9700 Topic is solved

Moderator: leecollings

Post Reply
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Blocky script not working any more after update 4.9700

Post by madpatrick »

Hi,
I've some Nodon switches with operate some lights with a blocky script.
After the upgrade these switches are not working any more.
I see in the log the switch is operated, but nothing is happening.

Code: Select all

2018-08-10 21:54:51.732 (Zwave USB) Light/Switch (NodOn Button 3)
Image[/url]
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
SweetPants

Re: Blocky script not working any more after update 4.9700

Post by SweetPants »

So the Blockly is working but the switch is not. Your tittle says something different. Can you manually switch?
User avatar
madpatrick
Posts: 637
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:

Re: Blocky script not working any more after update 4.9700 [solved]

Post by madpatrick »

Hi,

Everything was working fine. The blocky script was working and the switched were operated by the blocky script.
After the upgrade to 4.9700 the the switches were not operating any more by the script. Manually was working fine.

But, i've found the problem.
Somehow in the settings the events were not set active anymore.
When i put the check mark on active, every thing was working again.
-= HP server GEN8 Xeon(R) E3-1220L_V2 -=- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.12b on Tab8" =-
SweetPants

Re: Blocky script not working any more after update 4.9700

Post by SweetPants »

Good to hear it is working again. I think you ran into an 'old' bug where the eventsystem was switched off after upgrade. Depending on the version prior to your upgrade to V4.9700, this could well have been your problem. Can you mark this solved?
kalinkamaen
Posts: 52
Joined: Sunday 04 January 2015 15:57
Target OS: Windows
Domoticz version: 2022.2
Location: Norway
Contact:

Re: Blocky script not working any more after update 4.9700

Post by kalinkamaen »

I have the same probolem here now. I cant figure out whats the problem. Switch is working in domoticz and motion sensor is detected in domoticz. But my event is not reacting.

Image

Image
Windows 10, Domoticz 14784
SweetPants

Re: Blocky script not working any more after update 4.9700

Post by SweetPants »

Was this also after an upgrade? Then check if your events are still enabled (Setttings->settings->Other "EventSystem (Lua/Blockly/Scripts)"
kalinkamaen
Posts: 52
Joined: Sunday 04 January 2015 15:57
Target OS: Windows
Domoticz version: 2022.2
Location: Norway
Contact:

Re: Blocky script not working any more after update 4.9700

Post by kalinkamaen »

No it was not directly after update. It happened after a while.

Image
Windows 10, Domoticz 14784
kalinkamaen
Posts: 52
Joined: Sunday 04 January 2015 15:57
Target OS: Windows
Domoticz version: 2022.2
Location: Norway
Contact:

Re: Blocky script not working any more after update 4.9700

Post by kalinkamaen »

Why is there difference in setting on my windows 10 computer?
Eventsystem works on this computer.

Image
Windows 10, Domoticz 14784
kalinkamaen
Posts: 52
Joined: Sunday 04 January 2015 15:57
Target OS: Windows
Domoticz version: 2022.2
Location: Norway
Contact:

Re: Blocky script not working any more after update 4.9700

Post by kalinkamaen »

I have tried to uninstall Domoticz with revo uninstaller and instal it fresh again. Same problem. I cant understand whats doing this. :(
Windows 10, Domoticz 14784
kalinkamaen
Posts: 52
Joined: Sunday 04 January 2015 15:57
Target OS: Windows
Domoticz version: 2022.2
Location: Norway
Contact:

Re: Blocky script not working any more after update 4.9700

Post by kalinkamaen »

Please help me here.

I have reinstalled fresh windows 10. Blocky worked for +- 5 days. Now its fucked again. I have done nothing.
Windows 10, Domoticz 14784
SweetPants

Re: Blocky script not working any more after update 4.9700

Post by SweetPants »

Please watch your language, it's an international forum. Are you willing to upgrade to the latest Beta?
kalinkamaen
Posts: 52
Joined: Sunday 04 January 2015 15:57
Target OS: Windows
Domoticz version: 2022.2
Location: Norway
Contact:

Re: Blocky script not working any more after update 4.9700

Post by kalinkamaen »

Sorry for my language, i was so frustrated yesterday. I had done alott of work to get it working again.
I did try to update to latest Beta version, but it did not help. I have managed to fix it today. I set Domoticz
back to default Theme. That helped. If you look at the Domoticz theme I used first you had to hook box to disable event in settings <-- This I think should be opposite. I was not able to change this, everytime I saved, it went back to being unhooked.

Image

But on default theme its the opposite. You have to unhook to dissable event and hook box to enable event. Changed theme and deleted cache in chrome and it started working again. I am not sure If this is a bug or not.

Image
Windows 10, Domoticz 14784
BBI_home
Posts: 25
Joined: Monday 08 December 2014 13:53
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blocky script not working any more after update 4.9700

Post by BBI_home »

I also do have a similar situation. I have 2 systems running, 1 is V3.8153 with running events and visual events overview and working blocky mode and a second system running V 4.9700 with event problems. After importing the database from V3.8153 into V4.9700 the old events are running well, but the user interface is not visible. Only some black blocks are visible. I’m also not able to see a list of existing and correct imported and working events. The EventSystem (Lua/Blockly/Scripts) are set correctly. (Both interfaces are running simultaneously with the same browser)
Attachments
Schermafbeelding 2018-12-02 om 18.58.58.png
Schermafbeelding 2018-12-02 om 18.58.58.png (41.22 KiB) Viewed 3459 times
tsf0x13
Posts: 4
Joined: Monday 31 December 2018 15:03
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.11415
Location: Moscow
Contact:

Re: Blocky script not working any more after update 4.9700

Post by tsf0x13 »

Unfortunately, after 4-5 hours Blockly scripts has stop working on new system (v. 4.9700)
No errors in Event Log.
rinse
Posts: 6
Joined: Wednesday 31 October 2018 7:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Blocky script not working any more after update 4.9700 [solved]

Post by rinse »

madpatrick wrote: Saturday 11 August 2018 18:46 Hi,

Everything was working fine. The blocky script was working and the switched were operated by the blocky script.
After the upgrade to 4.9700 the the switches were not operating any more by the script. Manually was working fine.

But, i've found the problem.
Somehow in the settings the events were not set active anymore.
When i put the check mark on active, every thing was working again.
Thank you! You saved what was just about to be a ruined morning.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests