Yet another simple roller shutter (cover) node
-
@dpressle said in Yet another simple roller shutter (cover) node:
@hummeruli its here:
https://forum.mysensors.org/topic/7386/mysensors-cover-nodeThank you, but it does not work.
145: error: 'getConfig' was not declared in this scope
-
@dpressle said in Yet another simple roller shutter (cover) node:
@hummeruli its here:
https://forum.mysensors.org/topic/7386/mysensors-cover-nodeThank you, but it does not work.
145: error: 'getConfig' was not declared in this scope
@hummeruli It compiles just fine on my machine, what version of mysensors do you have? i am using v2:

-
@hummeruli It compiles just fine on my machine, what version of mysensors do you have? i am using v2:

-
@hummeruli can you check "Show verbose output during: " for compilation in the Preferences page and send me the detailed compilation log?
-
Sorry, i'm stupid. Your Code works fine. I get another Code, this was wrong and i renamed the wrong File.
But i have two Problems:-
I need on my shutter, he is open with 0% and closed with 100%. If i change the values for UP and DOWN to my values, it would'nt work.
-
If the shutter stay on 40% and i restart it, then he run UP and after he stop, he send the V_percentage 40.
Normaly he must send the stored value in EEPROM, i think.
Thanks a lot
-
-
Sorry, i'm stupid. Your Code works fine. I get another Code, this was wrong and i renamed the wrong File.
But i have two Problems:-
I need on my shutter, he is open with 0% and closed with 100%. If i change the values for UP and DOWN to my values, it would'nt work.
-
If the shutter stay on 40% and i restart it, then he run UP and after he stop, he send the V_percentage 40.
Normaly he must send the stored value in EEPROM, i think.
Thanks a lot
@hummeruli
for #1 try switching also these variables:
#define DIRECTION_DOWN 1
#define DIRECTION_UP 0for #2 can you send debug output?
-
-
What controller did you test already? I have domoticz, but it seems like domoticz has problem with percentage...
@gryzli133 Its tested and working on Homeassistant, you will probably will have to modify the code to make it work with other controllers, let me know if you need help with that.
-
is there any way to see all the communication between Node and Domoticz? I have already successfully changed the programm to compile on ESP8266, so I could use WiFi gateway and connected to serial check what happend in the communication. But i'm still too new to mysensors to get the full debug info...
-
is there any way to see all the communication between Node and Domoticz? I have already successfully changed the programm to compile on ESP8266, so I could use WiFi gateway and connected to serial check what happend in the communication. But i'm still too new to mysensors to get the full debug info...
@gryzli133 Sorry but i dont know how to debug Domoticz
-
@hummeruli
for #1 try switching also these variables:
#define DIRECTION_DOWN 1
#define DIRECTION_UP 0for #2 can you send debug output?