Navigation

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

    hugch

    @hugch

    1
    Reputation
    17
    Posts
    611
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Website www.pgollor.de/cms/

    hugch Follow

    Best posts made by hugch

    • RE: 💬 In Wall AC/DC Pcb (with Relay) for MySensors (SMD)

      Very nice project. And it is so nice that you thought about the fuses for the power supply and the relais. 🙂
      I have two additional ideas:

      • adding the ATSHA204 fo secure signing
      • I could be to big to integrate but something like this (https://www.aliexpress.com/item/1Bit-AC-220V-Optocoupler-Isolation-Module-Testing-Board-Adaptive-for-PLC/32754734564.html) would be great to detect the in wall switch state.
      posted in OpenHardware.io
      hugch
      hugch

    Latest posts made by hugch

    • RE: 💬 In Wall AC/DC Pcb (with Relay) for MySensors (SMD)

      @nightbodom Arduino have a tutorial for this https://www.arduino.cc/en/Tutorial/ArduinoISP

      posted in OpenHardware.io
      hugch
      hugch
    • RE: 💬 Dollhouse wireless node

      Hi, great project. Do you have any experience with the battery lifetime in combination with different sensors?

      posted in OpenHardware.io
      hugch
      hugch
    • RE: Bridge between RF24 and RS485

      @ArduiSens No i mean not a ethernet gateway. I mean a gateway between RS485 and the wireless network.
      Currently there exists only a gateway from RS485 to UART but not to the wireless network.

      posted in Feature Requests
      hugch
      hugch
    • RE: Bridge between RF24 and RS485

      A repeater feature would be amasing. I posted a feature request on github, but i think it is better here:

      I would like to build a wired network with RS-485 based sensors, because wireless signals can't go through the location where the sensors are. But outside of the metal house i can send and receive messages via NRF24L01.

      So but the current MySensor library supports only a LAN, WLAN or serial gateway, but i need a NRF gateway. 😉
      Because there is no LAN or WLAN available. Would it possible to do this?
      I think two ways could be useful:

      1. a real gateway function
      2. only pass through between RS-485 and NRF without an extra gateway

      Which one would be easier to implement? I could help with this, but i don't exactly know the best point to start at. Allows the current library structure this modification?

      posted in Feature Requests
      hugch
      hugch
    • RE: [solved] Need help for signing messages between nodes

      @Anticimex It was not a whitlesiting problem. But i think there was a wrong serial in the EEPROM. So i use the serial from the ATSHA device now.
      It is new for me, that the signer information are stored in the EEPROM. I will try it with the presentation function again.

      posted in Troubleshooting
      hugch
      hugch
    • RE: 💬 In Wall AC/DC Pcb (with Relay) for MySensors (SMD)

      Very nice project. And it is so nice that you thought about the fuses for the power supply and the relais. 🙂
      I have two additional ideas:

      • adding the ATSHA204 fo secure signing
      • I could be to big to integrate but something like this (https://www.aliexpress.com/item/1Bit-AC-220V-Optocoupler-Isolation-Module-Testing-Board-Adaptive-for-PLC/32754734564.html) would be great to detect the in wall switch state.
      posted in OpenHardware.io
      hugch
      hugch
    • RE: [solved] Need help for signing messages between nodes

      Thanks for your help @Anticimex. But nowit works. The solution was to clear the eeprom on both nodes.

      @Anticimex said in Need help for signing messages between nodes:

      Are you using whitelisting?

      Yes i'm using whitlisting.

      @Anticimex said in Need help for signing messages between nodes:

      You also need to inform other nodes about your nodes signing preferences if you want to transmit node-to-node signed messages. This is done using signerPresentation(). It is automatically done for node-to-gateway, but you have to do it youself for node-to-node. It is NOT recommended to manipulate the signing tables directly using the SET_ macros.

      Yes I know that it is not cemommended to use the macros but in my case it is the only solution.
      Because my battery powerd node is sleeping in deep sleep mode and can only wake up on an external interrupt.
      The interrupt from the NRF24l01 is disabled, otherwise the node wakes up every second (mybe a bug in version 2.1.1 ?).
      So if the other node try to inform the battery node for signing messages, the information will not reached the battery node.
      The current MySensors implementation with signerPresentation works only if the actuator node is on bevor the battery node. But this is not always the case.

      All nodes in my system have fixed ids. So it is no problem to tell my battery node that the actuator node needs signed messages. So it would be nice if we add a mysensors function to do that and not using the SET macros.

      posted in Troubleshooting
      hugch
      hugch
    • RE: [solved] Need help for signing messages between nodes

      So i tried something and i found a useful macro:
      SET_SIGN(20); So with this macro i tell the mysensors signing library that the node 20 need signed messages.

      But Node 20 says:

      Signature bad: [signature]
      1245835 Signature verification failed!
      1245852 !TSF:MSG:SIGN VERIFY FAIL
      

      With MY_DEBUG_VERBOSE_SIGNING i saw that the Current nonce and HMAC output on both nodes are the same. But the signatur in message is not the same.
      So what is going wrong?

      Both nodes are able to receive signed messages from the same master. The master and both nodes have the same HMAC key.

      posted in Troubleshooting
      hugch
      hugch
    • [solved] Need help for signing messages between nodes

      I have two nodes:
      Node 20: an relays switch
      Node 19: Motion detector

      Both nodes could communicated with signing with the gateway. Bit if i want so send a message from node 19 to node 20 it doesn't work.
      So i found the signerPresentation function. I tried to call it in node 20 and 19 but it didn't worked.

      At which device do I have to call the function?
      I thought about device 19 in the presentation function with the MyMessage from the Motion sensor and node 20 as destination to inform the library that the destination node needs signing. But the destination node says:

      551439 Message is not signed, but it should have been!
      

      Could anyone help me?

      posted in Troubleshooting
      hugch
      hugch
    • RE: 💬 Homini AC Powered Relay (2) Module

      @Samuel235 said in 💬 Homini AC Powered Relay (2) Module:

      OMRON G3MB-202P

      Okay I'm trying to help you with the fuse component. 😉
      I found a datasheet for the OMRON G3MB-202P. And there are enoght information to be known for fuse selection. 🙂
      I try to calculate it here (and i will try it with my bad English 😉 ).

      The most important information is the melting integral.
      The Melting integral has A²s as unit. So this means the maximum current for a time can exists without damaging the device. For further information look at wikipedia.

      So we need any further information about:

      • the protection which is present before (the typical circuit protection in private houses)
      • the melting integral from the device which we want to protect
      • the maximum voltage
      • the maximum switching current
      • the breaking capacity
      • Inrush current for the switched devices (we can't know)

      Typical values for an automatic circuit breaker in private houses are:

      • from 25 to 100 A²s
      • 230 V AC
      • 16 A

      So this protection isn't good enough for our relay. The relay have these values:

      • 230 V AC
      • 2 A maximum switching current
      • I²t value (melting integral): 4 A²s
      • the allowed inrush current over a small time is higher than the melting integral. It is a bit confusing i think, but if we calculate the protection for the given melting integral and it's fine. So we can define the parameters for the client (switching site of this application here)

      The fuse have to be:

      • I²s value higher or equal than the I²s value from the existing protection
      • rating voltage over 230 V AC
      • rating current 2 A or lower (because 2 A is the maximum at 25 °C, for 40 °C it is about 1.6 A)
      • a maximum switching time of 1 second at 2 A or lower time with higher current but below 4A²s! To calculate use the switching time from the fuse datasheet an multiply it two times with the given current for this switching time.

      And i think a fast blow fuse would be the best. There are SMD fuses with 10.1 x 3 mm and 250 V AC available.
      If there is no fuse available with the values above, we could combine multiple fuses. A possible solution could be one bigger fuse for both relays and the ac/dc component. And a smaller fuse for the switching site of the relay and the HLK-PM01. But for this it is important that the circuit have only one input for the hot one (L) of 230 V and one output for each relay. In this case we could reduce the big connectors from 6 to 4. Like (L, N, Relay1, Relay2).
      And the temperature fuse can work for all components too 😉

      So the protection for the primary site of the HLK-PM01 is a problem i think. Because the are no information available about the I²s value from HLK-PM01.

      I hope you can understand my English and could follow my explanation?

      posted in OpenHardware.io
      hugch
      hugch