Skip to content
  • 0 Votes
    3 Posts
    40 Views
    Ream TimR
    @Matt Yes, I was going to suggest this
  • Send timer program to pool filter controller

    General Discussion
    3
    0 Votes
    3 Posts
    55 Views
    Vasilis VlachoudisV
    Thank you @eiten for you suggestion. I will try it. I wanted to be independent from HA, just as a fail safe in case of problems. I am not relying on the time keeping of the arduino, but on a real time clock module.
  • 433MHz amplified (>5V)

    Troubleshooting
    22
    0 Votes
    22 Posts
    12k Views
    Yohann StreibelY
    Hi, I create a rflink pcb with this schema [image: 1692351051576-rflink_schema.jpeg]. I have an emission issue, the module RF 433Mhz Out not have 12v in VOUT+. What could I need to do. This is the pcb design, maybe it needs some improvement. [image: 1692351218669-mon_rflink_pcb_design-resized.png] [image: 1692351244899-mon_rflink_pcb.png] Thanks
  • Controlling Blinds.com RF Dooya Motors with Arduino and Vera

    My Project
    90
    7 Votes
    90 Posts
    74k Views
    Antonio SchneiderA
    Hello everyone, Firstly, I apologize for reviving such an old thread, but I find myself in a unique situation and was hoping some of you might be able to help. I hope everyone's doing well. I have a specific inquiry that I couldn't find a recent solution for. Does anyone here know of a tool to generate "fake" Dooya remote (DC90) RF codes for curtains? I've acquired a few motors without controllers and am trying to integrate them with Home Assistant and Bradlink RF remote. Specifically, I'm searching for a way to generate codes for the Up, Down, Stop, and the "Set" button functions to configure curtain limits. Any insights or guidance would be immensely appreciated. Thank you so much in advance!
  • hlk-pm01 are to noisy for rfm69?

    Hardware
    5
    0 Votes
    5 Posts
    42 Views
    zboblamontZ
    @Tmaster Never assume the original PCB was just a circuit of components, the PCB can incorporate RF shields and antenna radio ground planes...
  • Node update on value from Domoticz

    Domoticz
    2
    0 Votes
    2 Posts
    24 Views
    zboblamontZ
    @zboblamont OK, so experiments concluded that the return data from the latest version of Domoticz is a String whether it be V_VARx or V_TEXT. I tried the dual declaration using the same CHILD_ID as intended and as VAR_X (using an RF24 - not sure of the relevance) and the actual value sent but failed to make any sense of abstracting the Ulong conversion or the string. Only by presenting a fresh CHILD_ID and duplicating the send of data (water meter) as a V_VAR1 could I recover the last sent reading as a V_VAR1 from that fresh CHILD_ID, thence eventually arriving at 'strtoul' as a solution to restoring the last known value. For clarity my Gateway and Controller run on a UPS, and I hope shortly to add the spare router to that UPS so I'm not left in the dark on what is happening in the dark on a battery powered laptop... Hope this helps others trying to keep track of meters between relentless power cuts and reboots...
  • #define DEFAULT_RFM69_IRQ_PIN

    General Discussion mysensors
    15
    0 Votes
    15 Posts
    68 Views
    zboblamontZ
    @Tmaster What I meant by my previous comment was to tap on the Node name to see what sensors were connected - Had you clicked on TANQUE you would have seen a box pop up below giving you all the children to that particular Node with what value was last updated and when, so you could easily have found out all about your mysterious 13 children. At least you have it sorted now, but it pays to do a bit of housekeeping in the sketch setup and Domoticz - eg which of the 6 "Unknown" Nodes is the one you want to next have a look at ? All my Node IDs are set at the Node, and the sketch name labels the Node ID also, the Nodes are named in Domoticz for easy identification. In the sketch my sensors are numbered sequentially and commented on what they are, so naming them in Domoticz becomes very much easier.
  • Help me build a 6-light-sensor & 2 ch relay node.

    Troubleshooting
    3
    2
    0 Votes
    3 Posts
    55 Views
    H
    Only if you send a correct message from the controller to the node the receive function is called. I don't see a receive in your log. I think in your case the receive-function is not called (or called with a wrong message type or node id). Put a serial.print("receive() is called with type "); serial.println(message.getType()); on top of the receive function to see if the receive function is called and which type is handed over..
  • 0 Votes
    5 Posts
    60 Views
    A
    I am sharing my sketch. Based on the sketch below, I am using this led light to show air quality status (good for green, normal for yellow and bad for red). This sketch is just a switch so you should make some automation in HA. https://www.amazon.com/Traffic-Display-Module-Arduino-Mini-Traffic/dp/B07SZMRSDN #define MY_DEBUG #define MY_RADIO_RF24 #define MY_NODE_ID 16 #define MY_RF24_PA_LEVEL RF24_PA_LOW #include <MySensors.h> #define CHILD_ID_GREEN 1 #define CHILD_ID_YELLOW 2 #define CHILD_ID_RED 3 #define GREEN_PIN 3 #define YELLOW_PIN 4 #define RED_PIN 5 bool greenState = false; bool yellowState = false; bool redState = false; MyMessage msgGreen(CHILD_ID_GREEN, V_LIGHT); MyMessage msgYellow(CHILD_ID_YELLOW, V_LIGHT); MyMessage msgRed(CHILD_ID_RED, V_LIGHT); void setup() { Serial.begin(115200); pinMode(GREEN_PIN, OUTPUT); pinMode(YELLOW_PIN, OUTPUT); pinMode(RED_PIN, OUTPUT); wait(200); } void presentation() { // Initialize the MySensors communication sendSketchInfo("Traffic Light Node", "1.0"); present(CHILD_ID_GREEN, S_LIGHT); present(CHILD_ID_YELLOW, S_LIGHT); present(CHILD_ID_RED, S_LIGHT); } void loop() { // Send initial values of the LEDs to the controller send(msgGreen.set(greenState ? 1 : 0)); send(msgYellow.set(yellowState ? 1 : 0)); send(msgRed.set(redState ? 1 : 0)); // Other tasks in the loop if needed // ... // Add a delay to control how often the initial values are sent delay(5000); // Send initial values every 5 seconds (adjust as needed) } void receive(const MyMessage &message) { // Check which LED to control based on the message received if (message.sensor == CHILD_ID_GREEN && message.type == V_LIGHT) { greenState = !greenState; // Toggle the state digitalWrite(GREEN_PIN, greenState ? HIGH : LOW); // Set the pin accordingly send(msgGreen.set(greenState ? 1 : 0)); // Report back the new state } else if (message.sensor == CHILD_ID_YELLOW && message.type == V_LIGHT) { yellowState = !yellowState; digitalWrite(YELLOW_PIN, yellowState ? HIGH : LOW); send(msgYellow.set(yellowState ? 1 : 0)); } else if (message.sensor == CHILD_ID_RED && message.type == V_LIGHT) { redState = !redState; digitalWrite(RED_PIN, redState ? HIGH : LOW); send(msgRed.set(redState ? 1 : 0)); } }
  • 1 Votes
    19 Posts
    188 Views
    TmasterT
    i use the simplest boxes that you find,that suface mount with 4 screws and ruber on door. But be carefull with wall mount screws. if you drill the back of the box ,water come in beind this box. so this ones,the scrfew holes are outside the encosure an box is sealed... another tip is drill on bottom for pass cables but put some neutral silicone. hot glue let water come in with time because expansion coeficient is diferent that the plastic box and open gaps [image: 1690364728368-4c9e3f72-078c-46a9-9750-e0f495712c7c-image.png]
  • MySensors Gateway on OrangePi 5

    Development
    5
    0 Votes
    5 Posts
    56 Views
    M
    Thx for the hint. Unfortunately this didn't help me to find a solution for the compilation error. I simply don't understand the lines 105 and 106 in (MyHwLinuxGeneric.h). Can anyone explain me the C magic going on there? #define ATOMIC_BLOCK for ( ATOMIC_BLOCK_CLEANUP, __hwLock(); \ __atomic_loop ; __atomic_loop = 0 ) I think the problem is the "new"/different compiler version being used on the OrangePi 5. On my Raspberry Pi the code compiled without any problem.
  • 0 Votes
    1 Posts
    14 Views
    No one has replied
  • Is the search bar broken?

    General Discussion
    3
    0 Votes
    3 Posts
    41 Views
    R
    @mfalkvidd Thanks for the reply.
  • Smart Water Level Detector

    General Discussion
    6
    0 Votes
    6 Posts
    1k Views
    kriti shahK
    Hello@jemish Yes, it is possible to create a smart water level detector for your home water tank using an ultrasonic sensor or a float switch connected to a microcontroller with wireless connectivity.
  • Consistent NACK + RPI Gateway

    Troubleshooting
    5
    0 Votes
    5 Posts
    76 Views
    OumuamuaO
    Hi all, Should any one need, the fix mentioned in this page actually works. Thanks,
  • Website forum search feature [is broken]

    Pinned General Discussion
    4
    1 Votes
    4 Posts
    143 Views
    electrikE
    @dbemowsk You can also use google and add mysensors before the search phrase
  • Sensors and more

    Hardware
    1
    0 Votes
    1 Posts
    20 Views
    No one has replied
  • 4 Votes
    9 Posts
    171 Views
    Phillip FrymanP
    Could you share the capacitor values?
  • 0 Votes
    8 Posts
    95 Views
    B
    thanks again Edi. I will first make a full backup and put it on a new ssd. after that i will test your solutions as far as i can. sorry, i must have overlooked the code snippets function. best regards

13

Online

11.7k

Users

11.2k

Topics

113.1k

Posts