Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. hlehoux
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    hlehoux

    @hlehoux

    23
    Reputation
    52
    Posts
    9
    Profile views
    0
    Followers
    2
    Following
    Joined Last Online

    hlehoux Follow

    Best posts made by hlehoux

    • RE: What did you build today (Pictures) ?

      My first RFM69 Battery sensor: an ultrasonic sonar to measure the level of my fuel tank (don't laugh, winters can be cold in Burgundy 🙂 )

      Many thanks to @sundberg84 and @mfalkvidd for advice to the Newbie i am and to @Gerator for the RFM69 gateway

      153401744_844840052759734_2548459228707031383_n.jpg

      154871988_184904573009910_6316928321751043541_n.jpg

      154754747_148962677049341_1067850157653395188_n.jpg

      Capture d’écran 2021-02-25 à 20.59.13.png
      Capture d’écran 2021-02-25 à 21.00.18.png

      posted in General Discussion
      hlehoux
      hlehoux
    • RE: Please I need some help

      Hello here is an example i use at home: sending value 99 to node n°1

      #define TARGET_NODE 1 // Id node Relay entree et couloir au tableau electrique
      
      MyMessage MsgRelayGlobal(0,V_STATUS); // Message for the Relay actuator on node id 1, sensor 0
      
        // set the Destination of message to the node id of the relay actuator
        MsgRelayGlobal.setDestination(TARGET_NODE);
      
            MsgRelayGlobal.set( (const uint8_t ) 99 );
            Serial.println("Send Message to node 1");
            send(MsgRelayGlobal); // send message to node id 1
      
      

      and here an example of how to deal with the message at target node:

      void MyRelay::Receive(const MyMessage &message) {
        uint8_t payload= 0;
      
        payload= message.getByte();
        if  (message.type==V_STATUS) {
            if (payload==99) {
            // do something
      
      posted in Development
      hlehoux
      hlehoux
    • RE: Zigbee gateway with support for multiple vendors?

      I confirm care has to be taken: some brands want to lock you, the worst being Tuya, their devices are programmed in a way for them to work only with their gateway.

      I’m very happy with the « silvercrest » gateway ; it works well and there is an « easy » hack to gain control of it there: https://paulbanks.org/projects/lidl-zigbee/#overview

      (and here for french speaking people: https://faire-ca-soi-meme.fr/domotique/2021/03/22/hack-detournement-de-la-passerelle-lidl-silvercrest/)

      posted in General Discussion
      hlehoux
      hlehoux
    • RE: 💬 MySensors Nrf24/RFM Serial/Ethernet GW Shield (for Uno)

      @sundberg84 Thank you
      My knowledge being very limited, i understand this might be difficult for my to go on the RFM69 version ?

      Hopefully, my nrf24 network based on your designs works well 🙂

      posted in OpenHardware.io
      hlehoux
      hlehoux
    • RE: Help needed to setup a RFM69 & ESP8266 Gateaway on Adafruit Feather Huzzah

      Here is what i have tried:
      I try using GPIO 2 and 15 to pilot the RFM69

      here an extract of my GatewayESP8266.ino

      // Enable debug prints to serial monitor
      #define MY_DEBUG
      
      // Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h
      #define MY_BAUD_RATE 9600
      
      // Enables and select radio type (if attached)
      //#define MY_RADIO_RF24
      #define MY_RADIO_RFM69
      
      #define MY_IS_RFM69HW // Omit if your RFM is not "H"
      #define MY_RFM69_IRQ_PIN 2
      #define MY_RFM69_IRQ_NUM MY_RFM69_IRQ_PIN
      #define MY_RFM69_CS_PIN 15 // NSS. Use MY_RFM69_SPI_CS for older versions (before 2.2.0)
      
      ../..
      
      void setup()
      {
         pinMode(MY_RFM69_IRQ_PIN, OUTPUT);
         pinMode(MY_RFM69_CS_PIN, OUTPUT);
      
      	// Setup locally attached sensors
      }
      
      ../..
      
      void loop()
      {
      	// Send locally attached sensors data here
        digitalWrite(MY_RFM69_IRQ_PIN, HIGH);
      delay(1000);
      digitalWrite(MY_RFM69_IRQ_PIN, LOW);
      delay(1000);
      }
      

      What's going wrong is i need to unplug the wire to GPIO2 at boot time unless it won't boot
      then if i do that and replug the wire after boot, TFM is not initialized properly and
      i get this log:

      MCO:BGN:INIT GW,CP=RRNGE---,FQ=80,REL=255,VER=2.3.2
      114 TSF:LRT:OK
      130 TSM:INIT
      143 TSF:WUR:MS=0
      163 TSM:INIT:TSP OK
      184 TSM:INIT:GW MODE
      206 TSM:READY:ID=0,PAR=0,DIS=0
      238 MCO:REG:NOT NEEDED
      scandone
      1311 GWT:TIN:CONNECTING...
      2339 GWT:TIN:CONNECTING...
      scandone
      state: 0 -> 2 (b0)
      state: 2 -> 3 (0)
      state: 3 -> 5 (10)
      add 0
      aid 2
      
      connected with TPLINK_BUREAU, channel 1
      dhcp client start...
      cnt 
      3168 GWT:TIN:CONNECTING...
      ip:192.168.1.50,mask:255.255.255.0,gw:192.168.1.1
      4329 GWT:TIN:CONNECTING...
      4357 GWT:TIN:IP: 192.168.1.50
      4389 MCO:BGN:STP
      pm open,type:2 0
      14407 MCO:BGN:INIT OK,TSP=1
      14436 TSM:READY:NWD REQ
      15462 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      
      

      My knowlegde in electronics is level zero unfortunalty
      The adafruit Huzzah documentation states that
      GPIO #2, is also used to detect boot-mode. It also is connected to the blue LED that is near the WiFi antenna. It has a pullup resistor connected to it, and you can use it as any output (like #0) and blink the blue LED.

      So i thought i could wire directly GPIO2 to DIO0 on the RFM69 like explained https://www.mysensors.org/build/connect_radio but obviously i do something wrong

      Please Help 🙂

      posted in Development
      hlehoux
      hlehoux
    • RE: What did you build today (Pictures) ?

      @mfalkvidd You're right: For production i'm going to build isolation for the sensor not to be in contact

      Anyway: The flash point of domestic fuel oil is 55 ° C, which means that fuel oil cannot ignite below this temperature. In addition, in its liquid form, fuel oil is non-flammable at room temperature.

      posted in General Discussion
      hlehoux
      hlehoux
    • RE: 💬 MySensors Nrf24/RFM Serial/Ethernet GW Shield (for Uno)

      Thanks to @sundberg84

      My Nrf24 gateaway is know quasi professionnal !

      Can't wait to test the RFM69 version

      IMG_0364.jpg

      posted in OpenHardware.io
      hlehoux
      hlehoux
    • RE: Help needed to setup a RFM69 & ESP8266 Gateaway on Adafruit Feather Huzzah

      I guess this means i finally managed to get it working:

      4131 MCO:BGN:STP
      4133 MCO:BGN:INIT OK,TSP=1
      4135 TSM:READY:NWD REQ
      4139 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      pm open,type:2 0
      30149 TSF:MSG:READ,5-5-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
      30155 TSF:MSG:BC
      30157 TSF:MSG:FPAR REQ,ID=5
      30159 TSF:PNG:SEND,TO=0
      30161 TSF:CKU:OK
      30163 TSF:MSG:GWL OK
      30641 TSF:MSG:SEND,0-0-5-5,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
      32650 TSF:MSG:READ,5-5-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
      32655 TSF:MSG:PINGED,ID=5,HP=1
      
      
      posted in Development
      hlehoux
      hlehoux
    • RE: Zigbee gateway with support for multiple vendors?

      @NeverDie avoid tuya devices: they are intendly made to work only with the tuya app.
      people try to work this around , for instance in ZHA quirks, but this is a nightmare of reverse engineering

      posted in General Discussion
      hlehoux
      hlehoux
    • RE: 💬 Easy/Newbie PCB (RFM69 HW/W edition) for MySensors

      262584703_4635532316533267_1905087280867395535_n.jpg

      posted in OpenHardware.io
      hlehoux
      hlehoux

    Latest posts made by hlehoux

    • RE: Please I need some help

      you will for sure also find many other "display" node example in the forum.

      posted in Development
      hlehoux
      hlehoux
    • RE: Please I need some help

      OK, for the receiver you could use this example: https://www.mysensors.org/build/display

      you will have to adapt the example code which is displaying the current time.

      and add the receive function
      void receive(const MyMessage &message)
      {
      }

      and inside the receive function extract the the values you want and display it through lcd.print()

      hope this helps

      posted in Development
      hlehoux
      hlehoux
    • RE: Please I need some help

      @Emmanuel-Abraham sorry but i’m not sure i understand what you want to achieve.
      i think you already have a working water pulse sensor but can you explain what you want to do ? why another node ? what do you want this node to do ? what data do you want to send to the node ?

      what is your programming knowledge ?

      posted in Development
      hlehoux
      hlehoux
    • RE: Please I need some help

      Hello @Emmanuel-Abraham , i've never used this pulse meter sensor.

      as far as i can see, it's sending 3 different values to the gateaway:

      flow value : send(flowMsg.set(flow, 2));
      pulse count : send(lastCounterMsg.set(pulseCount));
      volume : send(volumeMsg.set(volume, 3));

      so if you want to send say the flow value to another node, let's say node 34
      you should
      flowMsg.setDestination(34);

      and you have to add the
      void receive(const MyMessage &message)
      {
      }
      function in the code of your node n°34

      posted in Development
      hlehoux
      hlehoux
    • RE: Please I need some help

      Hello here is an example i use at home: sending value 99 to node n°1

      #define TARGET_NODE 1 // Id node Relay entree et couloir au tableau electrique
      
      MyMessage MsgRelayGlobal(0,V_STATUS); // Message for the Relay actuator on node id 1, sensor 0
      
        // set the Destination of message to the node id of the relay actuator
        MsgRelayGlobal.setDestination(TARGET_NODE);
      
            MsgRelayGlobal.set( (const uint8_t ) 99 );
            Serial.println("Send Message to node 1");
            send(MsgRelayGlobal); // send message to node id 1
      
      

      and here an example of how to deal with the message at target node:

      void MyRelay::Receive(const MyMessage &message) {
        uint8_t payload= 0;
      
        payload= message.getByte();
        if  (message.type==V_STATUS) {
            if (payload==99) {
            // do something
      
      posted in Development
      hlehoux
      hlehoux
    • RE: Zigbee gateway with support for multiple vendors?

      What is also most interesting with zigbee is a very important number of devices, and low price of them compared to zwave for instance.

      posted in General Discussion
      hlehoux
      hlehoux
    • RE: MySensors PC Gateway - is it possible?

      more info here https://www.mysensors.org/build/select_gateway

      posted in Development
      hlehoux
      hlehoux
    • RE: MySensors PC Gateway - is it possible?

      You need to connect a MySensors Gateaway to your home assistant home automation controler.

      usually you can build a gateaway based on an arduino uno and connect it through serial port USB to the machine running your home assistant.

      alternatively you can build an ethernet gateaway (for instance with an ethernet enabled arduino) and communicate with your home assistant through tcp/ip

      posted in Development
      hlehoux
      hlehoux
    • RE: long-term usage of nRF24L01+ with PA: no reliable transmission

      Maybe try E01-ML01DP5 Long Range SPI nRF24L01P 2.4Ghz 100mW SMA Antenna IoT Wireless Transceiver

      After several years of usage, i can tell i sometimes need to reboot a node after several weeks or months… hard to tell why because i don’t have logs and when node is restarted usely everything works well.

      On some nodes i have setup a routine to reboot once a day; difficult to have clues if this is far better or not.

      Sometimes, you can have the case where your node finds an unusual « parent id » because the regular parent is not responding so
      if you are confident with your topology gateaway and repeaters then you can #define the prefered parent id of each node
      especially if some repeaters have a better antenna than others

      posted in General Discussion
      hlehoux
      hlehoux
    • RE: Newbie: Sensors do not connect

      @mariusl i use the pcb from @sundberg84 EasyPCB RFM69 version and it works very well

      posted in Troubleshooting
      hlehoux
      hlehoux