As I can see, all FGR223 have problems. Don't you think it could worth it to notify your solution to the developpers of Domoticz ? In my case, I would be more than happy if the solution could be integrated in the next version instead of compiling Domoitcz myself (I'm not really confident in my skills !)
Fibaro Roller Shutter percentage issue (FGR-223)
Moderator: leecollings
-
- Posts: 15
- Joined: Friday 26 July 2019 10:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Melun France
- Contact:
Re: Fibaro Roller Shutter percentage issue (FGR-223)
Domoticz v2021.1 on Raspberry Pi 3B+
Raspbian Buster
ConBee II + Xiaomi devices
Zwave
Raspbian Buster
ConBee II + Xiaomi devices
Zwave
-
- Posts: 29
- Joined: Monday 28 November 2016 18:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Contact:
Re: Fibaro Roller Shutter percentage issue (FGR-223)
Compiling isn't that hard, only your database changes versions. This might impact a recovery plan.
-
- Posts: 27
- Joined: Sunday 22 March 2020 17:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Fibaro Roller Shutter percentage issue (FGR-223)
Sorry, but I'm not familiar with the whole development process and where even to report such a thing Don't currently have free time to dig into it.Diplo95 wrote: ↑Tuesday 21 April 2020 10:52As I can see, all FGR223 have problems. Don't you think it could worth it to notify your solution to the developpers of Domoticz ? In my case, I would be more than happy if the solution could be integrated in the next version instead of compiling Domoitcz myself (I'm not really confident in my skills !)
But if U know what/where/how - feel free to forward this "solution" to the development staff.
-
- Posts: 29
- Joined: Monday 28 November 2016 18:38
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Contact:
Re: Fibaro Roller Shutter percentage issue (FGR-223)
Well, I've put a request in the Suggestions topic.
https://www.domoticz.com/forum/viewtopi ... 31&t=32356
https://www.domoticz.com/forum/viewtopi ... 31&t=32356
-
- Posts: 31
- Joined: Wednesday 14 November 2018 23:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Dordrecht
- Contact:
Re: Fibaro Roller Shutter percentage issue (FGR-223)
I tried to use your script to get my shutter level correct displayed, but for some reasons it doesn't do the job
Domoticz responds to the refresh command when executing him manually and i added the initialize script.
I added both the refresh script and the initialize as event. (added my portnumber and node id for the last one).
My IP's are whitelisted.
The behavior stay the same, the previous percentage state will be shown and nothing seems to happen. Any id
For now i use the code underneath, but i prefer a cleaner solution.
Code: Select all
return {
on = {
devices = { 'Rolluik Slaapkamer' }
},
data = {
counter = { initial = 0 }
},
execute = function(domoticz, device)
local level = device.level;
domoticz.log('New level ='..device.level)
if (domoticz.data.counter == 0) then
domoticz.data.counter = 1
device.setLevel(level)
else
domoticz.data.counter = 0
end
end
}
-
- Posts: 27
- Joined: Sunday 22 March 2020 17:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Fibaro Roller Shutter percentage issue (FGR-223)
Do You see in domoticz log file relevant info about scripts being invoked on blind level change ?
-
- Posts: 9
- Joined: Wednesday 25 December 2013 17:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Toulouse, France
- Contact:
Re: Fibaro Roller Shutter percentage issue (FGR-223)
Hello,
I did a simpler workaroud :
I also filed a bug report.
I did a simpler workaroud :
- create a dummy "blind percentage" device
- create a LUA 'device' event like the one below - my case is very special, so I did not tested this exact script. But it should be something like it.
- drive your blind using the dummy, not the real device
Code: Select all
if ( devicechanged['dummy'] ) then
if ( devicechanged['dummy'] == 'Open' ) then
commandArray['real'] = 'Set Level 99'
elseif ( devicechanged['dummy'] == 'Closed' ) then
commandArray['real'] = 'Off'
else
commandArray['real'] = 'Set Level '..otherdevices_svalues['dummy']
end
end
-
- Posts: 27
- Joined: Sunday 22 March 2020 17:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Fibaro Roller Shutter percentage issue (FGR-223)
For those trying to use my last solution: I've discovered, that running the initialization script at domoticz start is sometimes not enough.
So I've added a cron job to run the initialization once a day. It looks like this:
So I've added a cron job to run the initialization once a day. It looks like this:
Code: Select all
0 5 * * * curl -ks -d "type=openzwavenodes&idx=3" -X POST https://127.0.0.1/json.htm > /dev/null
Who is online
Users browsing this forum: No registered users and 0 guests