Yet another simple roller shutter (cover) node
-
So after the "success" ;( of my previous design "simple relay actuator" i did another one for roller shutter/cover device Simple cover actuator
Main goals were:
- Simple design (NO SMT) all throe hole
- Safe, AC-DC, fuses, creepage etc...
- Cheap, no expensive hardware
- Easy to build, anyone could do it
Main Components:
- Hi-Link AC-DC PSU
- 2 relay design one for power one for direction
- Atmega328p-pu
- nrf24l-01 radio
IT works very well for me with my Home Assistant controller HA, i am using time to set its position nothing too complicated.
Again, please comment and ask questions as you wish, thanks for the great feedback this forum is the best.
-
Boards can be found at Dirty Pcbs
-
Great job! Do you have an alternative that I can connect the nodes to gateway through Wire (i2c, RS485 etc)?
-
@gryzli133 The only way i can see is using the radio pins 9, 10, 11, 12, 13 if they can be used with RS485 or i2c then you are good to go
-
did you already try to change the radio module with RS485 module?
-
@gryzli133 No, Sorry. Let us know if you make it happen.
-
@dpressle can you give me the Code for the Arduino?
Thanks
-
-
@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:
-
@dpressle i'm using 2.1.1 on IDE 1.8.3 for Arduino Pro Mini 5V 16MHz.
-
@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
-
-
@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...
-
@gryzli133 Sorry but i dont know how to debug Domoticz
-
This post is deleted!