New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Profalux shutters] Periodic movement #3102
Comments
Hello @Smanar, |
I realy see nothing in your log about the profalux device, how many are paired during the previous log ?
But It seem you have some upnp traffic, you haven't some device like alexa or google home that can use the API ? Some other thing you can try.
|
Ha, I haven't thinked at remote ! But as they aren't in the API, I don't think they are guilties. Your command line is perfect ^^, not possible having more informations, but I hope you have disabled it ATM ? (or you don't use SD card). I m checking what can be trigger every 30 mn in deconz. But about your unpn devices, you haven't something special ? |
But on the code it happen more than every 30 mn, ca you check if you have it ONLY every 30 mn ? have you tried to change the time ? |
No, really nothing specific regarding upnp devices. And the date/time of the problem does not match the upnp logs time. |
I can confirm the problem is still happening after blocking all upnp traffic with iptables |
So you have this log "Idle timer triggered" only every 30 mn ? and I think in same time than the VR is moving ? If no, you can forget what i wrote below ^^ The fonction void DeRestPlugin::idleTimerFired() is trigger every 30s, but the part with this log use a counter than can be set a 60 in de_web_plugin.cpp
So if you still have the code ready to be compiled, try to set this value at 30, to see if bug appear every 15 mn. |
I have the log every 30 seconds, not every 30 minutes, so I don't really think it is related. BTW, there is a new dev version that have been release 2.05.80, maybe I can try to update (I assume all the Profalux-related changes have been included in this version) |
Yep, the change have been validated. |
@vanackej do you know how to use the API ? |
Yes, I know of course |
Nope, was just to be sure the problem was not from an old scene. |
Ok So have asked others devs, they have said me to check the same fonction DeRestPlugin::idleTimerFired() If you are agree, i can make a special version with 3/4 more debug lines because ATM I realy don't have idea for this bug. |
I'm ok to test a new custom build, let me know about it. One new strange thing: After letting the gateway up for a few days, the problem disappeared, no more movement every 30 minutes. And shutters control was still OK using the API. But as soon as I restart the gateway, the problem is back. I don't know how long it takes for type problem to disappear after gateway startup, I will try to be careful.. It's a really strange one :-( |
So I have disabled pooling have added some more debug line > Smanar@3596678
For debug line, it s to find the only one that appear every 30mn and not before. |
I'll try on Sunday when I come back home, I'll let you know, thanks |
Some updates after a few days of intensive testing, with and without your modified version :
|
Ha, nice, usefull. So if you start the inclusion at 23h, 1 h after no more issues ? Debug 1 is every 30s ? 30 min ? or other ? It mean if it s from deconz, there is a bugged timer that stop after midnight .... Strange, all timer can work during months I have just find a 30 mn timer, but no rapport with you
|
Yes, if I start the deconz process at 23h, it will occur at 23:30 then no more. Here are my latest "debug 1" logs. The interval is not always exactly the same, but it looks like it runs every 30 seconds most of the time.
|
I think I found a least where the problem is coming from (but still don't get why for now) |
I can confirm that the problem disappear when I make the permitJoin.cpp:245 contion always false. |
Hu ?? I need explanation for the calcul
^^ BTW perhaps that can be usefull for you e10b530#diff-7eef30a0e3da84572a02ee75c64e5264 And yes shutter make this move everytime you set the permit join, but in my mind it was everytime with value not 0 .... I m still searching explanation. |
30 minutes = 30 x 60 seconds = 1800 secondes, then multiply by 1000 to convert into milliseconds ^^ |
Lol, ha yes I m making reverse calcul, tired ....., but soon on holiday ^^. I m asking to manup ATM, because I don't see the utility of this feature. So IDK yet if it s a bug or not. |
Ok so some news
You can try the modification 3 posts above, but I m not sure it change something, your situation is special, and still no information for the reason it stop at midnight. |
As I said in my previous message, I already tried the fix above, as I made some tests with master branch, that includes the fix we are talking about. Not better. About why it stops at midnight, I looked at the code and I think it's pretty obvious: Time comparisons are all made using QTime objects, that only represents time elapsed since midnight, not including the date part. So, when permitJoinLastSendTime is 23:50 and currentTime is 00:00, the diff is a negative value (-10 minutes in my exemple), and will never be more than PERMIT_JOIN_SEND_INTERVAL. |
Lol yes, It for that I prefer wait for an anwser from manup. I can too put a hack just for your device, but on permit join procedure directly, I don't realy like that. |
Is there a channel on the discord server I could be directly involved in the discussion about the issue ? |
@vanackej Hello, you have tested the patch ? |
Hi, |
When I fetch back the config using the API, the DisablePJSecurisation is always false. It does not seem to be updated successfully, event if I got a success response during config PUT : |
Ok my bad, it s the problem with making code using only copy/paste. both error are corrected. |
Thanks, I'll have a look tomorrow and let you know
Le lun. 21 sept. 2020 à 17:58, Smanar <notifications@github.com> a écrit :
… Ok my bad, it s the problem with making code using only copy/paste.
both error are corrected.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAECPHJDH7EO7XGGRLXW2ULSG5Z3LANCNFSM4PQGEUEA>
.
|
@vanackej you still need the option ? ^^ |
Yes, I do ! |
I don't remember, I can update the code with the last one ( > 83), but I don't think using an old version change something for you (no recent hardware ?) But I m checking the code again, and I don't see why the gateway can be blocked .... On jeedom, you can change the log level in a configuration part, can you take a look if you see something bad ? |
I'm not using the jeedom managed gateway, I deployed a another one in a
separated VM to be able to manage versions upgrade by myself.
If you can update to latest release version, I can update and test today.
Le sam. 3 oct. 2020 à 13:20, Smanar <notifications@github.com> a écrit :
… I don't remember, I can update the code with the last one ( > 83), but I
don't think using an old version change something for you.
But I m checking the code again, and I don't see why the gateway can be
blocked ....
On jeedom, you can change the log level in a configuration part, can you
take a look if you see something bad ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAECPHOET2ZYRAXBN6BMXSLSI4CGXANCNFSM4PQGEUEA>
.
|
Done, I have updated the code with the last deconz version > 83. You can miss a file, depend off the last beta version you have used
|
Hi, |
You are on the stable branch, you need to switch to the beta one for other versions if you are using packages. But I don't think lib V 83 need a deconz V83 too. On my side I m on deconz version 82, it have started. Edit: Ha wait a little, it seem there is a problem yes |
On my side, the process starts, everything seems ok at first, but then unable to log in using the webapp. |
I don't have same problem, but yes, I have too some problem with the last master, need to search why. |
Ok so I have some problem specific to my hardware, other can compile code without problem. So I m using the version 83 beta, with the compiled lib else you need to copy the file button_maps.json in /usr/share/deCONZ/devices |
Hi, |
Hello, |
Hi, When DisablePJSecurisation is set, the behavior is ok. |
Ok, I m still not understanding ... I need to recompile on my side to be sure, but nothing special on code. You can see something in log ? the database is parsed at plugin start. |
I can see 2 lines loading the configuration, with differents values :
12:37:01:264 Load config DisablePJSecurisation: false from db.
12:37:01:264 Load config DisablePJsecurisation: true from db.
There is typo : one securisation is with an uppercase, the other one is
with lowercase
The type is located in database.cpp : gwConfig["DisablePJsecurisation"] =
gwDisablePJSecurisation;
The good one is the one with the uppercase name I guess
Le lun. 12 oct. 2020 à 22:45, Smanar <notifications@github.com> a écrit :
… Ok, I m still not understanding ...
I need to recompile on my side to be sure, but nothing special on code.
You can see something in log ? the database is parsed at plugin start.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAECPHMQVR34VWYNW5W5763SKNTHXANCNFSM4PQGEUEA>
.
|
Arf good catch, the code memorise it with the lowercase and the code work with the upper ... |
I will make a build later tonight and late you know, didn't have time to
test yet.
Le mar. 13 oct. 2020 à 17:39, Smanar <notifications@github.com> a écrit :
… Arf good catch, the code memorise it with the lowercase and the code work
with the upper ...
It s working with this modification ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAECPHKZRTM7BAIYL6HOHE3SKRYCPANCNFSM4PQGEUEA>
.
|
@Smanar Yeah it's ok. After fixing the typo, the config is properly stored and reloaded after restart. |
Bonjour,j’ai aussi le même problème avec mes volets profalux .Je sais que vous avez réglé le problème .Mais je ne sais pas comment intégrer cette solution dans mon système .Merci |
https://community.jeedom.com/t/combee-ii-volets-profalux-les-volets-bougent-tous-seuls/49410/12
Le mer. 3 févr. 2021 à 13:09, acacia42 <notifications@github.com> a écrit :
… Bonjour,j’ai aussi le même problème avec mes volets profalux .Je sais que
vous avez réglé le problème .Mais je ne sais pas comment intégrer cette
solution dans mon système .Merci
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3102 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAECPHML7J7UPMEFUZ745ZTS5E4GFANCNFSM4PQGEUEA>
.
|
Merci beaucoup,je vais essayer |
Describe the bug
Every few minutes (30 to 60, I don't know exactly), all my Profalux shutters are doing a quick up/down movement (less than 1 second).
I have 4 shutters, and they are all doing the same movement at the same time.
If I turn the gateway down, the movement does not occur anymore, so the movement is related to the gateway.
Expected behavior
No shutters movement when no action performed.
Environment
deCONZ Logs
Provided here : #2739 (comment)
Additional context
To be sure, I also completely shut down my domotic solution (Jeedom) and my Wifi network, and the problem still occurs with the gateway alone.
The text was updated successfully, but these errors were encountered: