Navigation

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

    Topics created by tomkxy

    • tomkxy

      sendHeartbeat in binding?
      OpenHAB • • tomkxy  

      2
      0
      Votes
      2
      Posts
      1173
      Views

      skywatch

      Yes you need to add code - see here.... https://forum.mysensors.org/topic/4942/solved-no-heartbeat As to what happens if a node is sleeping, I have no idea, sorry.
    • tomkxy

      ClearEprom does not work for Sensebender GW
      Troubleshooting • • tomkxy  

      12
      0
      Votes
      12
      Posts
      2152
      Views

      tbowmo

      @alexsh1 Sorry, didn't have access to my hardware lab, so got thrown off by other projects. The upcoming weekend will probably go with looking at old nasty php code, fixing issues in a 7 year old project I made for a former employer.. / Thomas
    • tomkxy

      Sensebender GW no output on serial
      Troubleshooting • • tomkxy  

      5
      1
      Votes
      5
      Posts
      1129
      Views

      tomkxy

      Ok, now I think I have a workaround...The sketch SecurityPersonalizer gave me the right hint. I need to extend the waiting time in setup. If I extend it to around 10secs it seems to work. void setup() { unsigned long enter = hwMillis(); while (hwMillis() - enter < (unsigned long)10000); Serial.begin(115200); Serial.println("here you go"); }
    • tomkxy

      Manufacture a custom wristband
      General Discussion • • tomkxy  

      3
      0
      Votes
      3
      Posts
      1116
      Views

      tomkxy

      @nemik said: My advice would be to visit Alibaba and try to find someone who sells the product most similar to what you want. Then reach out to them about modifying it and branding it for you. Some sell iBeacons and such in wristbands already, so it might not be too big of a stretch for them to customize it with some other electronics that you might have in mind. Good luck! Thanks!
    • tomkxy

      Conceptual security question
      Development • • tomkxy  

      15
      0
      Votes
      15
      Posts
      2427
      Views

      Anticimex

      @tomkxy The concept of whitelisting I have developed is to protect from the case when someone actually obtained your key. Typically by stealing a node with a personalized ATSHA onboard or even one with soft signing. According to Atmel, it is not possible to extract the HMAC key from an ATSHA but it is from a software based node. For this reason, my recommendation is to never use soft signing for nodes "outside". Now, although it is not considered possible to extract the HMAC key from an ATSHA, the attacker can still use it as it is already personalized for you. So he can just flash whatever and be able to send valid signatures. However, if you enforce whitelisting on your network, then the receiver of signed messages has to keep a list where each node is listed, and with each node a unique serial. That serial is salted into the signature by the sender and therefore not sniffable. But the attacker will be able to determine the serial from the node stolen. But using that info, he will not be able to deduce the serial of other nodes in the system that you also have decided to accept. So if you detect that a node has been stolen, you remove it from your whitelist, and the attacker will then have to guess both the nodeId and the serial of a node in your whitelist table. The nodeId can be sniffed, but the serial cannot. And therefore I do not under any circumstance allow the serial to be easily accessible by any means.
    • tomkxy

      Signing: no active verification session?
      Troubleshooting • • tomkxy  

      36
      0
      Votes
      36
      Posts
      4113
      Views

      Anticimex

    • tomkxy

      Debug findParent
      Troubleshooting • • tomkxy  

      3
      0
      Votes
      3
      Posts
      923
      Views

      tomkxy

      @hek: Thanks! It's working now. I was confused by another issue, a call to requestTime in the setup routine which seems not going out.
    • tomkxy

      MQTTClientGateway broken after upgrade - signature failure
      Development • • tomkxy  

      38
      0
      Votes
      38
      Posts
      7342
      Views

      noelgeorgi

      @tomkxy there's an android app named wifi analyser and use that to check the crowded wifi channels and set the rf24 channel to the least crowded one.... wish i had an SDR for more hacking and learning
    • tomkxy

      Change in signature protocol?
      Development • • tomkxy  

      1
      0
      Votes
      1
      Posts
      530
      Views

      No one has replied

    • tomkxy

      sleep & interrupts
      Development • • tomkxy  

      12
      0
      Votes
      12
      Posts
      5506
      Views

      martinhjelmare

      I would first go the simpler route and try to both read the pins in the loop and have the interrupts during sleep and test that. If loosing events in the test, I would go for a more complex solution, i.e. not using mysensors sleep but coding that from "scratch" and using attachInterrupt. Edit: On second thought, I think the second option would be to try and combine mysensors sleep function with interrupt and an attachedInterrupt with ISR. If that doesn't work, I would write a custom sleep function. If using attachInterrupt, I would detachInterrupt first thing in the ISR, then when the pin state is back to normal attach the interrupt again.
    • tomkxy

      Enabling signing (Development branch)?
      Troubleshooting • • tomkxy  

      8
      0
      Votes
      8
      Posts
      2270
      Views

      tomkxy

      @hek I got it working after inserting the define #define MY_SIGNING_REQUEST_SIGNATURES The same applies for soft signing which I tried as well. For an actuator it makes sense only to process signed messages. However, I thought that in general this feature was intended to be specified independently.
    • tomkxy

      Software initiated reboot of Mega does not work
      Development • • tomkxy  

      1
      0
      Votes
      1
      Posts
      694
      Views

      No one has replied

    • tomkxy

      Battery powered PIR and temp/humid sensor
      Development • • tomkxy  

      22
      0
      Votes
      22
      Posts
      7741
      Views

      alexsh1

      @tomkxy it is a few mA while sleeping. This means that it has to be modified (no VDO and no LED) - consumption drops to a reasonable 160uA or even below.
    • tomkxy

      Gateway is sending command=1, type =1 (c=1,t=1) message to sensor
      Troubleshooting • • tomkxy  

      14
      0
      Votes
      14
      Posts
      4405
      Views

      tomkxy

      Btw, I pushed the changes into my fork. The MQTTClientGateway will now listen to the topic MyMQTT/+/+/+/+ defined in the header file (MQTT_TOPIC_MASK) If it receives a message on that topic it will parse it and map the command get to a C_REQ message and set to a C_SET message and set it along with the payload to the sensor/actuator.
    • tomkxy

      API 1.5 backward compatibility?
      Development • • tomkxy  

      4
      0
      Votes
      4
      Posts
      1789
      Views

      tomkxy

      Ok, I figured it out. My issue was related to the change with respect to the message callback which has been introduced with 1.5. I had the callback method registered in the call to the begin method of the gateway node but also called it directly in the loop function as well. So this one has been fixed. Sorry, bothering you.
    • tomkxy

      Errors compiling MQTTGateway
      Development • • tomkxy  

      3
      0
      Votes
      3
      Posts
      1541
      Views

      tomkxy

      Thanks a lot! Works now!
    • tomkxy

      DHT22 lib working on 1Mhz?
      Development • • tomkxy  

      15
      0
      Votes
      15
      Posts
      7178
      Views

      tomkxy

      Have a look at the sensebender sketch http://www.mysensors.org/hardware/micro#example-sketch if ((measureCount == 5) && highfreq) { clock_prescale_set(clock_div_8); // Switch to 1Mhz for the reminder of the sketch, save power. highfreq = false; } The clock frequency is scaled down by software.
    • tomkxy

      Sending battery level over MQTTClient Gateway
      Development • • tomkxy  

      3
      0
      Votes
      3
      Posts
      1166
      Views

      tomkxy

      Thanks! Now I need a Mega since the sketch is to large. Cheers, Thomas
    • tomkxy

      Problem with Ethernet GW - W5100
      Development • • tomkxy  

      5
      0
      Votes
      5
      Posts
      2063
      Views

      tomkxy

      I am a complete idiot. When I continued my work the day before yesterday, I recompiled but forgot to enable SOFT_SPI. After it failed, I checked the wiring and re-wired wrongly. So SOFT_SPI was set but indeed the wiring was wrong then. It seems to be solved. Let's see how stable it will be. Thanks four your support!!! Cheers, Thomas