Hello,
I mentioned that when switching from timerplan something weird happens.
Example :
I do have a timed scene that runs when I'm using a timerplan "At home"
This timer goes off when selected timerplan is set to "away" (normal behaviour).
The issue is that when settling timerplan back to "At home" the timer keeps deactivated, i the have to set each event back to "on" within the timer settings.
Does anyone encounter the same issue?
Timer setting deactivated on scenes
Moderators: leecollings, remb0
Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.
Use the following template when posting here:
Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....
If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly
If you are replying, please do not quote images/code from the first post
Please mark your topic as Solved when the problem is solved.
-
- Posts: 616
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Timer setting deactivated on scenes
On my side, I have some weird page refresh issue but don't know if this is something specific to my setup, as I change timer plans not using tabs/menus but a virtual selector switch that kicks scripted timer plan change using HTTP/JSON API.
So, when from switch page I change timer plan using this selector, If a check another switch that use timer plans I see no change, as if timer plan was not switched at all... but is is (and timer trigerred events are on par with changed timer plan anyway): Just force-reloading the page fixes this presentation issue.
Not sure you're in the same kind of problem, but you may try reloading page.
So, when from switch page I change timer plan using this selector, If a check another switch that use timer plans I see no change, as if timer plan was not switched at all... but is is (and timer trigerred events are on par with changed timer plan anyway): Just force-reloading the page fixes this presentation issue.
Not sure you're in the same kind of problem, but you may try reloading page.
-
- Posts: 108
- Joined: Tuesday 06 February 2018 18:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta rel
- Contact:
Re: Timer setting deactivated on scenes
Indeed, it looks like we do have the same way to change timerplan, using JSON that has not the same behaviour as if changing timerplan from parameters menu.
It looks like there's a bug
It looks like there's a bug
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Timer setting deactivated on scenes
Please check with F12 in a browser if the JSON that is used to switch the timerplan from GUI is different than you use.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 616
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Timer setting deactivated on scenes
Hello, if I switch using my virtual switch/published API, unfortunately, I only see what's triggered by browser in network tab, not the "script" API access triggered for the level:
Code: Select all
json.htm?type=command¶m=switchlight&idx=XXX&switchcmd=Set%20Level&level=20&passcode=
Code: Select all
json.htm?type=command¶m=setactivetimerplan&ActiveTimerPlan=1
Code: Select all
json.htm?type=command¶m=getdevices&filter=all&used=true&favorite=1&order=[Order]&plan=0
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Timer setting deactivated on scenes
The original poster states that with the official way to switch the timerplan from menu setup-settings it works. So that should be the way to switch. I am wondering if that JSON command is the same as the documented one. It could well be that the JSON command has changed over time.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 616
- Joined: Thursday 10 November 2016 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Timer setting deactivated on scenes
Its never a good point to change APIs without good reasons. Checking what is done by browser may help finding some hidden ones when needed (at ones own risks for maintenance over versions) but IMO no more.
+here menu one is a bit cumbersome and not on par with last year changes/harmonization.
+here menu one is a bit cumbersome and not on par with last year changes/harmonization.
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Timer setting deactivated on scenes
I did not say there was no good reason for a possible change. I did not even mention there was a change. I only wanted the one that has issues verify that the API call was still the same or changed.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 1 guest