Navigation

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

    Posts made by martim

    • RE: RF Nano = Nano + NRF24, for just $3,50 on Aliexpress

      @ncollins okay, give it a try.

      posted in Hardware
      martim
      martim
    • RE: RF Nano = Nano + NRF24, for just $3,50 on Aliexpress

      @TheoL way to expensive.

      posted in Hardware
      martim
      martim
    • RE: RF Nano = Nano + NRF24, for just $3,50 on Aliexpress

      @ncollins If this board is suitable for battery use? I don't see how much current it uses.

      posted in Hardware
      martim
      martim
    • RE: RF Nano = Nano + NRF24, for just $3,50 on Aliexpress

      @TheoL I meant the board of @echi here as I need battery power board and this seems to be working well.

      posted in Hardware
      martim
      martim
    • RE: RF Nano = Nano + NRF24, for just $3,50 on Aliexpress

      @echi Where could you order this board?

      posted in Hardware
      martim
      martim
    • RE: 💬 Sensebender Micro

      Is there a way to order this board somewhere else. I have ordered now 3 times 2 boards. 2 times 1 board broken and it is very hard to communicate with them and almost never reply.

      posted in OpenHardware.io
      martim
      martim
    • Gateway MQTT on raspberry PI 4

      Hi,

      I have moved my gateway from raspberry 3B to 4. But I have problems with receiving/transmitting. It is very unstable, sometimes it works sometimes not.

      What I have done so far:

      • made sure that the power on the RP. So I have ordered original RP power supply with 5V/3A
      • took voltage from the NRF24 from 5 volts instead 3.3 and included a regulator MP1703 to go to 3.3 volts again
      • check the wiring and connections
      • the NRF has already cap of 4.7 uF on the plus/min
      • I have used the 2.4.0-alpha version and recompiled the gateway with #define MY_RF24_PA_LEVEL (RF24_PA_MAX) (I also tried the other options)

      So, anyone else is using RP 4 and maybe can give me some tips? The RP is connected to an SSD drive and use Zigbee and ZWave adapters (on extension cord)

      Hopefully, someone can help me because I am frustrated 🙂

      posted in Troubleshooting
      martim
      martim
    • RE: MQTT & MySensors persistant file

      @electrik Thanks. That will do I think. Now hopefully this will work 🙂

      posted in Home Assistant
      martim
      martim
    • MQTT & MySensors persistant file

      Hi,

      I have an existing mysensors network with many nodes. I would like to work with hassio (beginner). I have added mysensors and with the mqtt gateway. However, I see that the nodes need un update because of a special way sending the S_TYPE and V_TYPE. This would require a lot of work.

      Is there not a different way? Can I not specify all the nodes into the persistent file? Does someone have an example of this file?

      I do get now an error for example that node 17 is not recognized.

      Thanks and keep safe for the Coronavirus 😞

      posted in Home Assistant
      martim
      martim
    • RE: How to protect rain sensor from oxidation?

      @bjacobse This one seems to work like this. A bit expensive.. http://rainsensors.com/how-it-works/

      posted in Hardware
      martim
      martim
    • RE: How to protect rain sensor from oxidation?

      @bjacobse I have been looking to something like this but did not find it. I would be indeed a lot better.

      posted in Hardware
      martim
      martim
    • RE: How to protect rain sensor from oxidation?

      Is there not some kind of spray to protect the board?

      posted in Hardware
      martim
      martim
    • RE: How to protect rain sensor from oxidation?

      @technovation I tried this but it didn't work very reliable.

      posted in Hardware
      martim
      martim
    • RE: How to protect rain sensor from oxidation?

      @fotofieber I have no idear.

      posted in Hardware
      martim
      martim
    • How to protect rain sensor from oxidation?

      Hi,

      I have a rain sensor like this:

      0_1551545141275_regenModule.jpg

      How can I protect this as I am currently every 6-8 weeks need to replace it 😞

      Thanks for suggestions!

      Marcel

      posted in Hardware
      martim
      martim
    • Issues with MYSBootloader, Anyone a working version?

      Hi,

      I have a gateway on PI with the latest mysensors (2.3.1). Know I have a MYSBootloader for my slim node board (8 Mhz) which works fine on OTA but serial doesn't. When I try to download the latest one: https://github.com/mysensors/MySensorsBootloaderRF24/blob/development/hex/MYSBootloader_8MHz.hex
      then Serial works fine but OTA does not work?? My gateway uses MQTT and with the first one, you will see a nice publish of the node. Something like mysensors-out/5/255/4/0/0 010001009005272A0103 but with the latest this is not available and I cannot upload my code using mycontroller.org.

      So I assume the latest bootloader is not working on my 8Mhz board. Does anyone have a working version? Serial and OTA which I can try?

      Or other suggestions?

      Thanks!

      posted in Development
      martim
      martim
    • RE: OpenHAB 2.3 and MQTT

      @guillermo-schimmel

      Could you check here? I am really getting frustrated by the OpenHAB 🙂

      https://forum.mysensors.org/post/95623

      posted in OpenHAB
      martim
      martim
    • RE: Getting MySensors MQTT Gateway working on OpenHAB 2.2 (Stable)

      I spend again a few hours. I really want to get it to work with MQTT as I have my complete system based on it. But Apparently, the binding does not work and also the log does not say much. Only those errors:

      2018-12-17 11:38:03.559 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while initializing handler of thing 'mysensors:bridge-mqtt:gateway': org/eclipse/sma
      ansport/mqtt/MqttActionCallback                                                                                                                                                 
      java.lang.NoClassDefFoundError: org/eclipse/smarthome/io/transport/mqtt/MqttActionCallback                                                                                      
              at java.lang.ClassLoader.defineClass1(Native Method) ~[?:?]                                                                                                             
              at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[?:?]                                                                                                       
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.defineClass(ModuleClassLoader.java:276) ~[?:?]                                                                    
              at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.defineClass(ClasspathManager.java:655) ~[?:?]                                                            
              at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findClassImpl(ClasspathManager.java:578) ~[?:?]                                                          
              at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClassImpl(ClasspathManager.java:538) ~[?:?]                                                     
              at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:525) ~[?:?]                                                         
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328) ~[?:?]                                                                 
              at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:368) ~[?:?]                                                                           
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:446) ~[?:?]                                                                        
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:395) ~[?:?]                                                                                
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:387) ~[?:?]                                                                                
              at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150) ~[?:?]                                                                      
              at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:?]                                                                                                         
              at org.openhab.binding.mysensors.internal.protocol.mqtt.MySensorsMqttConnection.<init>(MySensorsMqttConnection.java:44) ~[?:?]                                          
              at org.openhab.binding.mysensors.internal.gateway.MySensorsGateway.setup(MySensorsGateway.java:99) ~[?:?]                                                               
              at org.openhab.binding.mysensors.handler.MySensorsBridgeHandler.initialize(MySensorsBridgeHandler.java:81) ~[?:?]                                                       
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]                                                                                                   
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]                                                                                 
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]                                                                         
              at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]                                                                                                              
              at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.oh230]  
              at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.oh230]                                         
              at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]                                                                                                       
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]                                                                                
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]                                                                                
              at java.lang.Thread.run(Thread.java:748) [?:?]                                                                                                                          
      Caused by: java.lang.ClassNotFoundException: org.eclipse.smarthome.io.transport.mqtt.MqttActionCallback cannot be found by org.openhab.binding.mysensors_2.4.0.201812040738     
      
      posted in OpenHAB
      martim
      martim
    • RE: 💬 MYSController

      No MQTT Support?

      posted in Announcements
      martim
      martim
    • RE: Getting MySensors MQTT Gateway working on OpenHAB 2.2 (Stable)

      @fredswed Hi, I really like MQTT so that is my prefered method. But I can try first on ethernet and then step back. I will try in the weekend since I am now a week away 😞 I used the latest version of the binding and also for MQTT.

      posted in OpenHAB
      martim
      martim
    • OpenHAB 2.3 and MQTT

      Hi All,

      I am very new to openHAB and I have a lot of problems installing/configuring openHAB 2.3 so that mysensors are working. Does anyone have a guidline how to install this?

      It seems that MQTT connect well but I got an error which I do not understand. I am already busy with it for days but I do not get it working. Unfortunatly I am not able to find openHAB 2.2 img so that I can install this on my PI.

      Anyone willing to help me?

      Error:

      2018-12-07 20:23:01.046 [hingStatusInfoChangedEvent] - 'mysensors:bridge-mqtt:gateway' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org/eclipse/smarthome/io/transport/mqtt/MqttActionCallback
      
      ==> /var/log/openhab2/openhab.log <==
      
      2018-12-07 20:23:01.025 [ERROR] [ome.core.thing.internal.ThingManager] - Exception occurred while initializing handler of thing 'mysensors:bridge-mqtt:gateway': org/eclipse/smarthome/io/transport/mqtt/MqttActionCallback
      
      java.lang.NoClassDefFoundError: org/eclipse/smarthome/io/transport/mqtt/MqttActionCallback```
      posted in OpenHAB
      martim
      martim
    • RE: Getting MySensors MQTT Gateway working on OpenHAB 2.2 (Stable)

      I am very new to openHAB but I am really getting crazy with it. I did exactly what was on top of the screen. But I get an error the MYSensors MQTT Gateway was initializing.. and never came out. So I continue too read and I switch to the binding v 2.4.0. But wathever I do I get an error:

      mysensors:bridge-mqtt:gateway' changed from INITIALIZING to UNINITIALIZED (HANDLER_INITIALIZING_ERROR): org/eclipse/smarthome/io/transport/mqtt/MqttActionCallback
      

      I am not sure where to look and what to change. This is in my demo.things file.

      Bridge mysensors:bridge-mqtt:gateway [ brokerName="mosquitto", topicPublish="mygateway1-in", topicSubscribe="mygatewa$
              temperature             temp01  [ nodeId=5, childId=0 ]
      }
      
      

      org.eclipse.smarthome.mqttbroker.cfg:

      name=mosquitto
      host=192.168.10.4 <- This points to the MySensors gateway PI (different then the openHAB)
      secure=false
      port=1883
      retain=false
      

      Any idears what I can try?

      posted in OpenHAB
      martim
      martim
    • RE: Raspberry MQTT config give segment fault start gateway

      Ok, Thanks. Will do!

      posted in Troubleshooting
      martim
      martim
    • RE: Raspberry MQTT config give segment fault start gateway

      Solved. Deleted the /etc/mysensor.conf file and started sudo ./bin/mysgw again. This fixed the problem.

      posted in Troubleshooting
      martim
      martim
    • Raspberry MQTT config give segment fault start gateway

      Hi,

      I have configured the gateway software on the raspberry like:

      ./configure --my-gateway=mqtt --my-controller-ip-address=127.0.0.1 --my-mqtt-publish-topic-prefix=mygateway1-out --my-mqtt-subscribe-topic-prefix=mygateway1-in --my-mqtt-client-id=mygateway1
      

      then

      make
      sudo ./bin/mysgw
      

      which give:

      pi@raspberrypi:~/MySensors $ ./bin/mysgw 
      Nov 19 14:30:07 ERROR Failed to open log pipe.
      Nov 19 14:30:07 INFO  Starting gateway...
      Nov 19 14:30:07 INFO  Protocol version - 2.3.0
      Nov 19 14:30:07 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,VER=2.3.0
      Nov 19 14:30:07 DEBUG TSF:LRT:OK
      Nov 19 14:30:07 DEBUG TSM:INIT
      Nov 19 14:30:07 DEBUG TSF:WUR:MS=0
      Segmentatiefout
      

      Segmentatiefout is Dutch for Segmentation fault

      I have a brand new Raspberry. I have updated everything to the last versions

      Is this a MQTT problem? It is running and seems oke

      posted in Troubleshooting
      martim
      martim
    • RE: Raspberry gateway - radio problems

      @mfalkvidd thanks!! I have looked three times , i guess too tired. 😃

      posted in Troubleshooting
      martim
      martim
    • Raspberry gateway - radio problems

      Hi,

      I have build the Raspberry PI 3 b+ gateway project as here https://www.mysensors.org/build/raspberry
      unfortunately the radio won't work. I have checked the wires multiple times but I think I did look to often 🙂

      I used:

      ./configure --my-transport=nrf24 --my-gateway=ethernet --my-controller-ip-address=192.168.10.5
      

      then

      make
      sudo ./bin/mysgw
      
      Nov 18 12:51:39 INFO  Starting gateway...
      Nov 18 12:51:39 INFO  Protocol version - 2.3.0
      Nov 18 12:51:39 DEBUG MCO:BGN:INIT GW,CP=RNNGL-Q-,VER=2.3.0
      Nov 18 12:51:39 DEBUG TSF:LRT:OK
      Nov 18 12:51:39 DEBUG TSM:INIT
      Nov 18 12:51:39 DEBUG TSF:WUR:MS=0
      Nov 18 12:51:39 DEBUG !TSM:INIT:TSP FAIL
      Nov 18 12:51:39 DEBUG TSM:FAIL:CNT=1
      Nov 18 12:51:39 DEBUG TSM:FAIL:DIS
      Nov 18 12:51:39 DEBUG TSF:TDI:TSL
      Nov 18 12:51:49 DEBUG TSM:FAIL:RE-INIT
      Nov 18 12:51:49 DEBUG TSM:INIT
      Nov 18 12:51:49 DEBUG !TSM:INIT:TSP FAIL
      Nov 18 12:51:49 DEBUG TSM:FAIL:CNT=2
      Nov 18 12:51:49 DEBUG TSM:FAIL:DIS
      Nov 18 12:51:49 DEBUG TSF:TDI:TSL
      Nov 18 12:51:59 DEBUG TSM:FAIL:RE-INIT
      Nov 18 12:51:59 DEBUG TSM:INIT
      Nov 18 12:51:59 DEBUG !TSM:INIT:TSP FAIL
      Nov 18 12:51:59 DEBUG TSM:FAIL:CNT=3
      Nov 18 12:51:59 DEBUG TSM:FAIL:DIS
      Nov 18 12:51:59 DEBUG TSF:TDI:TSL
      Nov 18 12:52:09 DEBUG TSM:FAIL:RE-INIT
      Nov 18 12:52:09 DEBUG TSM:INIT
      Nov 18 12:52:09 DEBUG !TSM:INIT:TSP FAIL
      Nov 18 12:52:09 DEBUG TSM:FAIL:CNT=4
      Nov 18 12:52:09 DEBUG TSM:FAIL:DIS
      Nov 18 12:52:09 DEBUG TSF:TDI:TSL
      
      
      

      4_1542542112350_08961916-0f0a-4780-a793-bacc12952905.jpg
      3_1542542112350_8651cd2c-a696-43e1-a9be-2efcf1a7b43c.jpg 2_1542542112350_7c173e09-ce12-4da3-a0fa-4a88fe796c5f.jpg 1_1542542112350_4e4fee8f-2ec0-4050-a80d-147d2f764e20.jpg 0_1542542112349_3a992caf-5d33-400c-bad1-1bdf433e2f69.jpg

      posted in Troubleshooting
      martim
      martim
    • RE: ESP8266 Gateway runs DHCP, not static

      @mfalkvidd Thanks. I have cleared the eeprom with this and after that install the sketch again. Still DHCP.
      This is the sketch:

      /**
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2015 Sensnology AB
       * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * REVISION HISTORY
       * Version 1.0 - Henrik EKblad
       * Contribution by a-lurker and Anticimex,
       * Contribution by Norbert Truchsess <norbert.truchsess@t-online.de>
       * Contribution by Ivo Pullens (ESP8266 support)
       *
       * DESCRIPTION
       * The EthernetGateway sends data received from sensors to the WiFi link.
       * The gateway also accepts input on ethernet interface, which is then sent out to the radio network.
       *
       * VERA CONFIGURATION:
       * Enter "ip-number:port" in the ip-field of the Arduino GW device. This will temporarily override any serial configuration for the Vera plugin.
       * E.g. If you want to use the defualt values in this sketch enter: 192.168.178.66:5003
       *
       * LED purposes:
       * - To use the feature, uncomment any of the MY_DEFAULT_xx_LED_PINs in your sketch, only the LEDs that is defined is used.
       * - RX (green) - blink fast on radio message recieved. In inclusion mode will blink fast only on presentation recieved
       * - TX (yellow) - blink fast on radio message transmitted. In inclusion mode will blink slowly
       * - ERR (red) - fast blink on error during transmission error or recieve crc error
       *
       * See http://www.mysensors.org/build/esp8266_gateway for wiring instructions.
       * nRF24L01+  ESP8266
       * VCC        VCC
       * CE         GPIO4
       * CSN/CS     GPIO15
       * SCK        GPIO14
       * MISO       GPIO12
       * MOSI       GPIO13
       * GND        GND
       *
       * Not all ESP8266 modules have all pins available on their external interface.
       * This code has been tested on an ESP-12 module.
       * The ESP8266 requires a certain pin configuration to download code, and another one to run code:
       * - Connect REST (reset) via 10K pullup resistor to VCC, and via switch to GND ('reset switch')
       * - Connect GPIO15 via 10K pulldown resistor to GND
       * - Connect CH_PD via 10K resistor to VCC
       * - Connect GPIO2 via 10K resistor to VCC
       * - Connect GPIO0 via 10K resistor to VCC, and via switch to GND ('bootload switch')
       *
        * Inclusion mode button:
       * - Connect GPIO5 via switch to GND ('inclusion switch')
       *
       * Hardware SHA204 signing is currently not supported!
       *
       * Make sure to fill in your ssid and WiFi password below for ssid & pass.
       */
      
      // 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 115200
      
      // Enables and select radio type (if attached)
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      //#define MY_RADIO_RFM95
      
      #define MY_GATEWAY_ESP8266
      
      #define MY_ESP8266_SSID "SID"
      #define MY_ESP8266_PASSWORD "*********"
      
      // Enable UDP communication
      //#define MY_USE_UDP  // If using UDP you need to set MY_CONTROLLER_IP_ADDRESS below
      
      // Set the hostname for the WiFi Client. This is the hostname
      // it will pass to the DHCP server if not static.
      #define MY_ESP8266_HOSTNAME "marcel-gateway"
      
      // Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP)
      #define MY_IP_ADDRESS 192,168,10,9
      
      // If using static ip you can define Gateway and Subnet address as well
      #define MY_IP_GATEWAY_ADDRESS 192,168,10,1
      #define MY_IP_SUBNET_ADDRESS 255,255,255,0
      
      // The port to keep open on node server mode
      #define MY_PORT 5003
      
      // How many clients should be able to connect to this gateway (default 1)
      #define MY_GATEWAY_MAX_CLIENTS 2
      
      // Controller ip address. Enables client mode (default is "server" mode).
      // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
      //#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 68
      
      // Enable inclusion mode
      //#define MY_INCLUSION_MODE_FEATURE
      
      // Enable Inclusion mode button on gateway
      //#define MY_INCLUSION_BUTTON_FEATURE
      // Set inclusion mode duration (in seconds)
      //#define MY_INCLUSION_MODE_DURATION 60
      // Digital pin used for inclusion mode button
      //#define MY_INCLUSION_MODE_BUTTON_PIN  3
      
      // Set blinking period
      //#define MY_DEFAULT_LED_BLINK_PERIOD 300
      
      // Flash leds on rx/tx/err
      // Led pins used if blinking feature is enabled above
      //#define MY_DEFAULT_ERR_LED_PIN 16  // Error led pin
      //#define MY_DEFAULT_RX_LED_PIN  16  // Receive led pin
      //#define MY_DEFAULT_TX_LED_PIN  16  // the PCB, on board LED
      
      #if defined(MY_USE_UDP)
      #include <WiFiUdp.h>
      #endif
      
      #include <ESP8266WiFi.h>
      #include <MySensors.h>
      
      void setup()
      {
        // Setup locally attached sensors
      }
      
      void presentation()
      {
        // Present locally attached sensors here
      }
      
      void loop()
      {
        // Send locally attached sensors data here
      }
       
      

      This is the logging:

      connected with CycloneIT, channel 5
      dhcp client start...
      ip:192.168.10.228,mask:255.255.255.0,gw:192.168.10.1
      

      I am using MySensors 2.2.0 and Arduino 1.8.5 and download the latest boards from:
      http://arduino.esp8266.com/stable/package_esp8266com_index.json

      I am not sure what I am missing, maybe it is a simple thing in the sketch, if I comment out the #define MY_RADIO_NRF24 then it works???

      posted in Troubleshooting
      martim
      martim
    • RE: ESP8266 Gateway runs DHCP, not static

      @electrik Hi, Yes. I think so. I have create an empty sketch and upload this to the board and after that my original code. But without any improvement.

      posted in Troubleshooting
      martim
      martim
    • RE: ESP8266 Gateway runs DHCP, not static

      I have the same problem. I am not able to fix it. It seems that the order of Config and Begin are correct?!? I am also not sure why this changed if are remove the define for the radio. I am using the ethernet gateway.

      posted in Troubleshooting
      martim
      martim
    • RE: 💬 Homey

      Great work!

      posted in Announcements
      martim
      martim
    • RE: How to start with FOTA

      @gohan Disabled my Firewall and Virusscanner and now it seems to work 🙂

      posted in General Discussion
      martim
      martim
    • RE: How to start with FOTA

      @gohan Ethernet.

      9-6-2018 14:57:49 INFO Connected to 192.168.0.4:5003
      9-6-2018 14:58:07 TX 255;255;3;0;20;0
      9-6-2018 14:58:07 ERROR Error on connect: connection refused (pressing discover)

      posted in General Discussion
      martim
      martim
    • RE: How to start with FOTA

      @gohan the problem is that MySContoller does not work. Cannot connect to Gateway. The flash seems succesfull. So I am trying to use MyController.

      posted in General Discussion
      martim
      martim
    • RE: How to start with FOTA

      @gohan Well that's what I do not like. Is there any documentation arround how to start with MYSysController firmware for the first time?

      posted in General Discussion
      martim
      martim
    • RE: Battery empty on all nodes

      @electrik Acoording the documentation looks like your right.

      posted in Troubleshooting
      martim
      martim
    • RE: Battery empty on all nodes

      @gohan Mmh, That I am not using so that might me the case.

      posted in Troubleshooting
      martim
      martim
    • RE: Battery empty on all nodes

      @sundberg84 But I have a sleep. So when it is coming awake after a sleep period. It start sending sensor information to the gateway, if this will fail. Does it retry until succeed? Do you have an example sketch with a good example that will not fail if gateway unavailable?

      posted in Troubleshooting
      martim
      martim
    • RE: Battery empty on all nodes

      mmh, Most nodes sleep for 10 minutes. Do you think it will retry after this sleep periode for a few times?

      posted in Troubleshooting
      martim
      martim
    • Battery empty on all nodes

      Hi,

      I had to work on my gateway, software update etc. (took 4 hours, had some issues) and after connecting no sensors connected. After long search I found out that all my batteries where empty from all my nodes? Could that be caused that the gateway was not available?

      posted in Troubleshooting
      martim
      martim
    • How to start with FOTA

      Hi,

      I hope someone can help me to start with FOTA. I have read this page: https://www.mysensors.org/about/fota#the-fota-bootloader. But still I am still not sure how to start.

      1. Does a gateway needs to have special firmware?
      2. If you flash a 328p with MYSysController firmware for the first time and there is no sketch loaded, how do you get the skets loaded as the node won't advertise itselfs to the gateway??

      I know how to flash a 328p but I am not sure how to get the sketch on it the first time and MYSYSController does not work with my gateway so I am now trying MyController.

      Can someone put my into the right direction?

      Thanks for helping out..

      posted in General Discussion
      martim
      martim
    • RE: My Slim 2AA Battery Node

      @gohan said in My Slim 2AA Battery Node:

      LiFePO4

      Thanks

      posted in My Project
      martim
      martim
    • RE: My Slim 2AA Battery Node

      Hi All,

      This Topic is a little old but hopefully still active. I am using the battery Duracell CR123 because it is small and fits in my case. Would this be an ok choice or does someone has other recommendations?

      Thanks for feedback.

      Marcel

      posted in My Project
      martim
      martim
    • RE: Case for mini weather station

      Thanks for all the ideas. I think I will start buying some bowls 🙂 Thanks

      posted in General Discussion
      martim
      martim
    • RE: Case for mini weather station

      @sindrome73

      @sindrome73 said in Case for mini weather station:

      This could be for you: https://it.aliexpress.com/item/plastic-outer-shield-for-thermo-hygro-sensor-spare-part-for-weather-station-Transmitter-thermo-hygro-sensor/32793243933.html?spm=a2g0s.8937460.0.0.f3dWg7

      Found this one to but the shipping costs to the netherlands are extreem high 😞

      posted in General Discussion
      martim
      martim
    • RE: Case for mini weather station

      @dbemowsk said in Case for mini weather station:

      It is actually called a radiation shield. Too bad you don't have a 3D printer. I did a design for one that I have posted on thingiverse.
      0_1524239907274_338f9399-d073-4b92-82ca-f382f96022c7-image.png

      Waauw, this looks really great!

      posted in General Discussion
      martim
      martim
    • RE: Case for mini weather station

      @gohan Ok, Thanks I will. The problem I cannot place it on the North Side.

      posted in General Discussion
      martim
      martim
    • Case for mini weather station

      Hi,

      I am searching for a case for my mini weather station, I am measuring temperature, light, humidity, pressure. But my current case with holes in it has not enough air flow and therefor the temperature is to high when the sun is shining. Also the light is not actual correct. Does anybody can recommend a case? I do not have a 3d printer unfortunately.

      Thanks for helping.

      Regards,
      Marcel

      posted in General Discussion
      martim
      martim
    • RE: 💬 Various bootloader files based on Optiboot 6.2

      I have copy the file over the existing files and then I get this error with burning:

      java.io.IOException: Cannot run program "{runtime.tools.avrdude.path}/bin/avrdude": CreateProcess error=2, The system cannot find the file specified

      I am using Arduino IDE 1.8.2

      posted in OpenHardware.io
      martim
      martim
    • RE: Easy/Newbie PCB for MySensors

      Have solved the issue. Removed the cap from the board and directly soldered to the Radio Board. That's was solving the issue.

      posted in Hardware
      martim
      martim
    • RE: Easy/Newbie PCB for MySensors

      Found one issue. On the PCB board the was a very small broken wire. I think the postman was not very careful with it. At least I have some better logging but still not there.

      How can I solve this one?

      0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
      4 TSM:INIT
      4 TSF:WUR:MS=0
      12 TSM:INIT:TSP OK
      14 TSM:INIT:STATID=20
      16 TSF:SID:OK,ID=20
      18 TSM:FPAR
      55 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2064 !TSM:FPAR:NO REPLY
      2066 TSM:FPAR
      2103 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4112 !TSM:FPAR:NO REPLY
      4114 TSM:FPAR
      4151 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      6160 !TSM:FPAR:NO REPLY
      6162 TSM:FPAR
      6199 TSF:MSG:SEND,20-20-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      8208 !TSM:FPAR:FAIL
      8210 TSM:FAIL:CNT=1
      8212 TSM:FAIL:PDT
      

      Does this mean the gateway does not reply? It does with other sensors?

      posted in Hardware
      martim
      martim
    • RE: Easy/Newbie PCB for MySensors

      @sundberg84
      Ok, Thanks I will try the second suggestion. (my booster is still not delivered and hard to get at the moment :()

      posted in Hardware
      martim
      martim
    • RE: Easy/Newbie PCB for MySensors

      This is the front part. The connected cable goes to the FTD232 which also is currently the power supply.

      0_1486835929737_IMG_3545.JPG !

      The red wire on the back plane connects the plus from arduino to the plus for the radio (soldered on the + of cap)
      0_1486835943373_IMG_3546.JPG !

      Try to zoom in.
      0_1486835954003_zoomed.png

      posted in Hardware
      martim
      martim
    • RE: Easy/Newbie PCB for MySensors

      Yesterday I have received Rev 9 of Newbie PCB board. I am a newbie and I purchased this board to make building easier. I have soldered a radio and Arduino Pro Mini 3.3 V to it and the radio module with a 47uF cap. The power is supplied using the FTD232 board. Because the radio module is not powered using the 3.3V of arduino I wired this using a separate wire. I also connected a DTH 11 with the resistor on the board (4K7). I used a test sketch to read the DTH 11 and this is working well.

      When I load the MySensors sketch I get a radio failure. I have no Idea what this is? Bad wiring, not correct power?? Anyone can help me started?

      0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
      4 TSM:INIT
      4 TSF:WUR:MS=0
      12 !TSM:INIT:TSP FAIL
      14 TSM:FAIL:CNT=1
      16 TSM:FAIL:PDT
      10018 TSM:FAIL:RE-INIT
      10020 TSM:INIT
      10027 !TSM:INIT:TSP FAIL
      10031 TSM:FAIL:CNT=2
      10033 TSM:FAIL:PDT```
      posted in Hardware
      martim
      martim
    • RE: Arduino Pro Mini + nRF24L01 (jmodule?? or something else)

      Hi @Nca78,

      Thank you for your clear explanation. I will order some boards of Easy PCB and I hope your boards will arrive soon and then I will order those as well. This sound very nice.

      posted in Hardware
      martim
      martim
    • RE: Arduino Pro Mini + nRF24L01 (jmodule?? or something else)

      OK. But I don't see how this would help? I still need to connect by wiring my Arduino? Or can I directly solder it to it?

      posted in Hardware
      martim
      martim
    • RE: Arduino Pro Mini + nRF24L01 (jmodule?? or something else)

      @gohan said:

      There are voltage regulators based on ams1117 for nrf24l01 available on gearbest, I bought a couple of them and they work. They are probably not the most compact solution, but for less than 2$ each they are quite handy. BTW, how much range did you get from your nodes?

      I am not sure what you mean? I am searching for a board.

      posted in Hardware
      martim
      martim
    • RE: Arduino Pro Mini + nRF24L01 (jmodule?? or something else)

      @gohan said:

      ams1117

      Thank,s, I think they are just to large to fit in my boxes (I have already 10 boxes). The room is 5 x 9 cm and with the battery holder I am afraid it won't fit. I see that the board is 5 x 5 cm but the radio module is beyond that.

      posted in Hardware
      martim
      martim
    • Arduino Pro Mini + nRF24L01 (jmodule?? or something else)

      Hi,

      I need to create around 6 nodes (Arduino Pro Mini + nRF24L01) but I would like to make this as small as possible and I am tired to solder all the wires from Arduino Pro Mini ro the nrf24L01 board (with all the mistakes).

      So I read something about the jmodule.
      https://www.mysensors.org/hardware/jmodule

      How do you get such a board? How does this work, I have no experience with this files and I really don't know how to start? Is there a site where you could order those board with uploading the files?

      Or are there better alternatives?

      I hope someone can help me to get me started...

      Thanks in advance.

      posted in Hardware
      martim
      martim
    • RE: Arduino Pro Mini & DS18B20

      @bjacobse

      Thanks!! Yes this was the trick! Wrong Speed!

      Happy New Year!!

      posted in Troubleshooting
      martim
      martim
    • RE: Arduino Pro Mini & DS18B20

      Yes, I have the 4k7 resister from VCC to data pin. The voltage is 3.3.

      posted in Troubleshooting
      martim
      martim
    • Arduino Pro Mini & DS18B20

      Hi,

      I tried for 2 days now to build this project https://www.mysensors.org/build/temp. Unfortunatly I am not able to get this temperature read out with a Arduino Pro Mini. When I use a Nano it works. !?!

      What could be wrong here? I tried 2 different Arduino Pro Mini boards but both don't work.

      What could be different between the Arduino Pro Mini and Nano?

      posted in Troubleshooting
      martim
      martim
    • RE: [Solved]Radio Error on Sensor

      @mfalkvidd

      Thanks! Some study to do 🙂

      posted in Troubleshooting
      martim
      martim
    • RE: [Solved]Radio Error on Sensor

      @tekka

      That was indeed the trick 😂 👍 This is really awesome.

      Final question. The Node register know with the GW if I am correct. And when I change a port how fast is this send to the gateway?

      I would like to connect a doorbell and use an interrupt when someone is pressing on the doorbell.

      posted in Troubleshooting
      martim
      martim
    • RE: [Solved]Radio Error on Sensor

      My Sensor code:

      /**
         The MySensors Arduino library handles the wireless radio link and protocol
         between your home built sensors/actuators and HA controller of choice.
         The sensors forms a self healing radio network with optional repeaters. Each
         repeater and gateway builds a routing tables in EEPROM which keeps track of the
         network topology allowing messages to be routed to nodes.
      
         Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
         Copyright (C) 2013-2015 Sensnology AB
         Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
      
         Documentation: http://www.mysensors.org
         Support Forum: http://forum.mysensors.org
      
         This program is free software; you can redistribute it and/or
         modify it under the terms of the GNU General Public License
         version 2 as published by the Free Software Foundation.
      
       *******************************
      
         REVISION HISTORY
         Version 1.0 - Henrik EKblad
      
         DESCRIPTION
         This sketch provides an example how to implement a distance sensor using HC-SR04
         http://www.mysensors.org/build/distance
      */
      
      #define MY_BAUD_RATE 115200
      
      // Enable debug prints
      #define MY_DEBUG
      
      #define OPEN 1
      #define CLOSE 0
      
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      
      #define NODE_ID 123
      
      #include <MySensors.h>
      
      MyMessage msg(NODE_ID, V_TRIPPED);
      
      uint8_t value = OPEN;
      
      void setup()
      {
      }
      
      void presentation() {
        // Send the sketch version information to the gateway and Controller
        sendSketchInfo("Dummy sensor", "1.0");
      
         present(NODE_ID, S_DOOR);
      }
      
      void loop()
      {
          value = value == OPEN ? CLOSE : OPEN;
          send(msg.set(value));
          sleep(10000);
      }
      
      posted in Troubleshooting
      martim
      martim
    • RE: [Solved]Radio Error on Sensor

      GW:

      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSM:RADIO:OK
      0;255;3;0;9;TSM:GW MODE
      0;255;3;0;9;TSM:READY
      scandone
      f 0, scandone
      state: 0 -> 2 (b0)
      state: 2 -> 3 (0)
      state: 3 -> 5 (10)
      add 0
      aid 11
      cnt 
      
      connected with CycloneIT, channel 11
      dhcp client start...
      ...ip:192.168.10.218,mask:255.255.255.0,gw:192.168.10.1
      .IP: 192.168.10.218
      0;255;3;0;9;No registration required
      0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
      pm open,type:2 0
      0;255;3;0;9;TSP:MSG:READ 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=255)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=bc:0
      0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:READ 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=255)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=bc:0
      0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=255)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=bc:0
      0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=255)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=bc:0
      0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:READ 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=255)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=bc:0
      0;255;3;0;9;TSP:SANCHK:OK
      0;255;3;0;9;TSP:MSG:READ 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;255;3;0;9;TSP:MSG:BC
      0;255;3;0;9;TSP:MSG:FPAR REQ (sender=255)
      0;255;3;0;9;TSP:CHKUPL:OK
      0;255;3;0;9;TSP:MSG:GWL OK
      0;255;3;0;9;TSP:MSG:SEND 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=bc:0
      0;255;3;0;9;TSP:MSG:READ 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      

      Node:

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-255 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      TSM:FPAR:OK
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      !TSM:CHKID:FAIL (ID=255)
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-255 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      TSM:FPAR:OK
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      !TSM:CHKID:FAIL (ID=255)
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-255 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      TSM:FPAR:OK
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      !TSM:CHKID:FAIL (ID=255)
      !TSM:FAILURE
      TSM:PDT
      
      
      posted in Troubleshooting
      martim
      martim
    • RE: [Solved]Radio Error on Sensor

      @mfalkvidd

      Yes I did. 47uF
      0_1481544342485_image1.JPG

      posted in Troubleshooting
      martim
      martim
    • RE: [Solved]Radio Error on Sensor

      @mfalkvidd said:

      @martim

      
      #define NODE_ID 123
      

      must be done before

      #include <MySensors.h>
      

      thanks. But still same error!?!

      posted in Troubleshooting
      martim
      martim
    • RE: [Solved]Radio Error on Sensor

      @tekka

      Thanks for helping!

      I already have this in my code. This is the code for my Node:

      #define MY_BAUD_RATE 115200
      
      // Enable debug prints
      #define MY_DEBUG
      
      #define OPEN 1
      #define CLOSE 0
      
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      
      #include <MySensors.h>
      
      #define NODE_ID 123
      
      MyMessage msg(NODE_ID, V_TRIPPED);
      uint8_t value = OPEN;
      
      void setup()
      {
      }
      
      void presentation() {
        // Send the sketch version information to the gateway and Controller
        sendSketchInfo("Dummy sensor", "1.0");
      
         present(NODE_ID, S_DOOR);
      }
      
      void loop()
      {
          value = value == OPEN ? CLOSE : OPEN;
          send(msg.set(value));
          sleep(10000);
      }
      

      and it still gives this message? Can this be an error in the Gateway?

      posted in Troubleshooting
      martim
      martim
    • RE: [Solved]Radio Error on Sensor

      I tried this already but no differences (tried 4,7 uF until 47uF). Below I have the start log where something is about an CHKID fail:

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSP:MSG:READ 0-0-255 s=255,c=3,t=8,pt=1,l=1,sg=0:0
      TSP:MSG:FPAR RES (ID=0, dist=0)
      TSP:MSG:PAR OK (ID=0, dist=1)
      TSM:FPAR:OK
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      TSM:ID
      TSP:MSG:SEND 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=ok:
      !TSM:CHKID:FAIL (ID=255)
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      !TSM:FAILURE```
      posted in Troubleshooting
      martim
      martim
    • [Solved]Radio Error on Sensor

      Hi,

      I am a starter. I build my gateway and this seems to work! No error messages and when I attach a local sensor and I can see this information on the controller (Homey). But when I create a sensor device I get and error in the logging which I do not understand. I spend the whole day but I cannot find the issue. Tried different nrf24l01 radio modules but no change.

      See logging below. What could be wrong?

      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      !TSM:FAILURE
      TSM:PDT
      
      posted in Troubleshooting
      martim
      martim
    • Newbie Gateway login & client Loging

      Hi,

      Unfortunately my client sensor is not connecting to the gateway (at leas I guess). I have both debuging enabled but I am not sure what to expect and if the failure is in the gateway or client. Gateway output:

      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSM:RADIO:OK
      0;255;3;0;9;TSM:GW MODE
      0;255;3;0;9;TSM:READY
      scandone
      f 0, scandone
      state: 0 -> 2 (b0)
      state: 2 -> 3 (0)
      state: 3 -> 5 (10)
      add 0
      aid 13
      cnt 
      
      connected with CycloneIT, channel 11
      dhcp client start...
      ...ip:192.168.10.218,mask:255.255.255.0,gw:192.168.10.1
      .IP: 192.168.10.218
      0;255;3;0;9;No registration required
      0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
      pm open,type:2 0
      0;255;3;0;9;TSP:SANCHK:OK
      

      Client output:

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      !TSM:FAILURE
      TSM:PDT
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      !TSM:FAILURE
      TSM:PDT
      

      The client gives an error. But is this because the client has a failure or the gateway. How can I check and what do I need to expect.

      Does the client send a few times a broadcast?? but this fail for some reason?

      Would be glad with all the help 🙂

      Br,
      Marcel

      posted in General Discussion
      martim
      martim
    • RE: Newbie Question

      @mfalkvidd, when you download the library 2.0 and you extract this. There is a folder documentation which is almost empty. But in the meantime I found also a link api on the download location with more info.

      The sketch did work! Great! Based on this example I can going forward.

      posted in General Discussion
      martim
      martim
    • RE: Newbie Question

      Thanks! I will try this!

      By the way the documentation in the zip file is more or less empty?

      posted in General Discussion
      martim
      martim
    • RE: Newbie Question

      Hi,

      Ok. Thanks for all your help. I need to solder the pins first before I can attach my sensor. A dummy would be indeed helpful. But I will attach the sensor tomorrow after I have solder the header pins.

      posted in General Discussion
      martim
      martim
    • RE: Newbie Question

      Hi,

      That seems to work :). Would it be possible to simulate a sensor? (To start easy :)) Ooh, and could you also tell me where I can find the documentation of the MySensors library (which function I can use)?

      posted in General Discussion
      martim
      martim
    • RE: Newbie Question

      Hi @mfalkvidd,

      Thank you. I have installed the software, can connect to internet. But in the output of serial window I see:

      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;!TSM:RADIO:FAIL
      0;255;3;0;9;!TSM:FAILURE
      0;255;3;0;9;TSM:PDT

      I can also not access http://<ip>:5003 (not sure if this is possible).

      So, without additional code I can try to add it to homey (my controller)?

      posted in General Discussion
      martim
      martim
    • Newbie Question

      HI,

      I am brand-new to this forum and sorry if I ask stupid questions. I have a Wemos D1 mini without radio. I would like show the sensor data (DS 18B20) on a website served by the Wemos. Or connect it with Homey (mysensors app).

      Would that be possible? When I use the code and I would like to comment out the radio part, it won't compile. Is this not possible or do I need to do something else?

      Does somebody has maybe an example?

      Thanks,

      Marcel

      posted in General Discussion
      martim
      martim