@yveaux said in Never been able to get MySensors to work:
#define MY_DEBUG_VERBOSE_RF24
I have capacitors installed on all radios. I have tried with both the nrf24l01+pa+lna radio and the normal nrf24l01 radio. Both authentic, no "blobs", real chips.
My radio on the RPi:
My DHT11 node:
I don't feel like either of these are horrible soldering jobs. I've been making electronics for years, but maybe I'm wrong.
Followed this guide "to the T", with the exception of having to install Java 8 SDK JRE manually because the PPA is now discontinued and no longer works as described in that tutorial.
Content of file from /home/pi/mysensors/examples_linux/mysgw.cpp:
/*
* 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-2018 Sensnology AB
* Full contributor list: https://github.com/mysensors/MySensors/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.
*/
#include <iostream>
#include <cstdio>
#include <unistd.h>
#define MY_DEBUG_VERBOSE_RF24
// For more options run ./configure --help
// Config file
#define MY_LINUX_CONFIG_FILE "/etc/mysensors.conf"
// How many clients should be able to connect to this gateway (default 1)
#define MY_GATEWAY_MAX_CLIENTS 10
// Serial config
// Enable this if you are using an Arduino connected to the USB
#define MY_LINUX_SERIAL_PORT "/dev/ttyUSB0"
// Enable this if you need to connect to a controller running on the same device
// You also need to define MY_LINUX_SERIAL_PORT above with the symlink name for the PTY device
#define MY_LINUX_SERIAL_IS_PTY
// Grant access to the specified system group for the serial device
#define MY_LINUX_SERIAL_GROUPNAME "tty"
// MQTT options
//#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 68
//#define MY_PORT 1883
//#define MY_MQTT_CLIENT_ID "mysensors-1"
//#define MY_MQTT_PUBLISH_TOPIC_PREFIX "mygateway1-out"
//#define MY_MQTT_SUBSCRIBE_TOPIC_PREFIX "mygateway1-in"
// Enable these if your MQTT broker requires username/password
//#define MY_MQTT_USER "username"
//#define MY_MQTT_PASSWORD "password"
// Flash leds on rx/tx/err
//#define MY_DEFAULT_ERR_LED_PIN 12 // Error LED pin
//#define MY_DEFAULT_RX_LED_PIN 16 // Receive LED pin
//#define MY_DEFAULT_TX_LED_PIN 18 // Transmit LED pin
// Inverse the blinking feature
//#define MY_WITH_LEDS_BLINKING_INVERSE
// Enable software signing
//#define MY_SIGNING_SOFT
// Enable signing related debug
//#define MY_DEBUG_VERBOSE_SIGNING
// Enable this to request signatures
//#define MY_SIGNING_REQUEST_SIGNATURES
// Enable this to to weaken security for gradual deployment purpose
// (see signing documentation for details)
//#define MY_SIGNING_WEAK_SECURITY
// Enables RF24 encryption (all nodes and gateway must have this enabled, and all must be
// personalized with the same AES key)
//#define MY_RF24_ENABLE_ENCRYPTION
/ Enable inclusion mode if your HA Controller supports it (e.g. Vera Controller)
//#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
#include <MySensors.h>
#define ARDUINO 100
// This space is intended to be used to include arduino libraries
#undef ARDUINO
void setup()
{
// Setup locally attached sensors
}
void presentation()
{
// Present locally attached sensors here
}
void loop()
{
// Send locally attached sensors data here
}
Output of dmesg | grep tty
:
dmesg | grep tty
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbdepth=16 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3f000000 vc_mem.mem_size=0x3f600000 dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=61399ee0-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
[ 0.000910] console [tty1] enabled
[ 0.816958] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 81, base_baud = 0) is a PL011 rev2
[ 0.821412] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 53, base_baud = 31250000) is a 16550
The above output interests me. It appears that mysgw.service (or mysensors/bin/mysgw) is not automatically starting. The ttyUSB0 port isn't there until I manually start the service using sudo ./bin/mysgw
. My understanding is that these lines
sudo systemctl daemon-reload
sudo systemctl enable mysgw.service
sudo systemctl start mysgw.service
would make the service start automatically; is that not the case?
As for my config string, I just used this one from the tutorial, minus the RF channel of 69, which seemed unnecessary, so I opted for the default of 76 and omitted it from the string:
./configure --my-gateway=serial --my-serial-is-pty --my-transport=rf24 --my-serial-groupname=tty
I'm not sure how to monitor the traffic on the gateway, but this is the output now, which is failing, after following the above tutorial, and running sudo ./bin/mysgw
:
pi@OpenHabPi:/home/mysensors $ sudo ./bin/mysgw
May 18 17:40:18 INFO Starting gateway...
May 18 17:40:18 INFO Protocol version - 2.3.1
May 18 17:40:18 DEBUG Serial port /dev/ttyUSB0 (115200 baud) created
May 18 17:40:18 DEBUG MCO:BGN:INIT GW,CP=RNNGL---,REL=255,VER=2.3.1
May 18 17:40:18 DEBUG TSF:LRT:OK
May 18 17:40:18 DEBUG TSM:INIT
May 18 17:40:18 DEBUG TSF:WUR:MS=0
May 18 17:40:18 DEBUG !TSM:INIT:TSP FAIL
May 18 17:40:18 DEBUG TSM:FAIL:CNT=1
May 18 17:40:18 DEBUG TSM:FAIL:DIS
May 18 17:40:18 DEBUG TSF:TDI:TSL
May 18 17:40:28 DEBUG TSM:FAIL:RE-INIT
May 18 17:40:28 DEBUG TSM:INIT
May 18 17:40:28 DEBUG !TSM:INIT:TSP FAIL
May 18 17:40:28 DEBUG TSM:FAIL:CNT=2
May 18 17:40:28 DEBUG TSM:FAIL:DIS
May 18 17:40:28 DEBUG TSF:TDI:TSL
May 18 17:40:38 DEBUG TSM:FAIL:RE-INIT
May 18 17:40:38 DEBUG TSM:INIT
May 18 17:40:38 DEBUG !TSM:INIT:TSP FAIL
May 18 17:40:38 DEBUG TSM:FAIL:CNT=3
May 18 17:40:38 DEBUG TSM:FAIL:DIS
May 18 17:40:38 DEBUG TSF:TDI:TSL
May 18 17:40:48 DEBUG TSM:FAIL:RE-INIT
May 18 17:40:48 DEBUG TSM:INIT
May 18 17:40:48 DEBUG !TSM:INIT:TSP FAIL
May 18 17:40:48 DEBUG TSM:FAIL:CNT=4
May 18 17:40:48 DEBUG TSM:FAIL:DIS
May 18 17:40:48 DEBUG TSF:TDI:TSL
May 18 17:40:58 DEBUG TSM:FAIL:RE-INIT
May 18 17:40:58 DEBUG TSM:INIT
May 18 17:40:58 DEBUG !TSM:INIT:TSP FAIL
May 18 17:40:58 DEBUG TSM:FAIL:CNT=5
May 18 17:40:58 DEBUG TSM:FAIL:DIS
May 18 17:40:58 DEBUG TSF:TDI:TSL
May 18 17:41:08 DEBUG TSM:FAIL:RE-INIT
May 18 17:41:08 DEBUG TSM:INIT
May 18 17:41:08 DEBUG !TSM:INIT:TSP FAIL
May 18 17:41:08 DEBUG TSM:FAIL:CNT=6
May 18 17:41:08 DEBUG TSM:FAIL:DIS
May 18 17:41:08 DEBUG TSF:TDI:TSL
And here's the output from the DHT11 node:
16 RF24:INIT
23 RF24:INIT:PIN,CE=9,CS=10
25 RF24:SBY
26 RF24:WBR:REG=0,VAL=14
33 RF24:WBR:REG=3,VAL=3
35 RF24:WBR:REG=4,VAL=95
37 RF24:WBR:REG=5,VAL=76
39 RF24:WBR:REG=6,VAL=37
43 RF24:WBR:REG=29,VAL=4
45 RF24:RBR:REG=29,VAL=4
47 RF24:RBR:REG=6,VAL=37
49 RF24:RBR:REG=5,VAL=76
51 RF24:WBR:REG=2,VAL=2
53 RF24:WBR:REG=1,VAL=0
56 RF24:WBR:REG=28,VAL=3
58 RF24:FRX
59 RF24:FTX
60 RF24:WBR:REG=7,VAL=112
62 RF24:WBR:REG=2,VAL=3
65 RF24:WBR:REG=1,VAL=1
67 RF24:STL
68 RF24:WBR:REG=0,VAL=15
70 RF24:WBR:REG=10,VAL=199
72 RF24:SPL
73 RF24:WBR:REG=0,VAL=14
76 RF24:OWP:RCPT=255
78 RF24:WBR:REG=10,VAL=255
80 RF24:WBR:REG=16,VAL=255
82 RF24:TXM:TO=255,LEN=7
84 RF24:FTX
1684 RF24:WBR:REG=7,VAL=48
1686 RF24:STL
1688 RF24:WBR:REG=0,VAL=15
1690 RF24:WBR:REG=10,VAL=199
1693 RF24:RBR:REG=23,VAL=1
1695 RF24:RBR:REG=23,VAL=1
1698 RF24:RBR:REG=23,VAL=1
1700 RF24:RBR:REG=23,VAL=1
1703 RF24:RBR:REG=23,VAL=1
1705 RF24:RBR:REG=23,VAL=1
1709 RF24:RBR:REG=23,VAL=1
1711 RF24:RBR:REG=23,VAL=1
1713 RF24:RBR:REG=23,VAL=1
1716 RF24:RBR:REG=23,VAL=1
1718 RF24:RBR:REG=23,VAL=1
1721 RF24:RBR:REG=23,VAL=1
1723 RF24:RBR:REG=23,VAL=1
1726 RF24:RBR:REG=23,VAL=1
1728 RF24:RBR:REG=23,VAL=1
1731 RF24:RBR:REG=23,VAL=1
1733 RF24:RBR:REG=23,VAL=1
1735 RF24:RBR:REG=23,VAL=1
1738 RF24:RBR:REG=23,VAL=1
1740 RF24:RBR:REG=23,VAL=1
1743 RF24:RBR:REG=23,VAL=1
1745 RF24:RBR:REG=23,VAL=1
1748 RF24:RBR:REG=23,VAL=1
1751 RF24:RBR:REG=23,VAL=1
1754 RF24:RBR:REG=23,VAL=1
1756 RF24:RBR:REG=23,VAL=1
1758 RF24:RBR:REG=23,VAL=1
1761 RF24:RBR:REG=23,VAL=1
1763 RF24:RBR:REG=23,VAL=1
1766 RF24:RBR:REG=23,VAL=1
1768 RF24:RBR:REG=23,VAL=1
1771 RF24:RBR:REG=23,VAL=1
1773 RF24:RBR:REG=23,VAL=1
1776 RF24:RBR:REG=23,VAL=1
1778 RF24:RBR:REG=23,VAL=1
1781 RF24:RBR:REG=23,VAL=1
1783 RF24:RBR:REG=23,VAL=1
1785 RF24:RBR:REG=23,VAL=1
1788 RF24:RBR:REG=23,VAL=1
1790 RF24:RBR:REG=23,VAL=1
1794 RF24:RBR:REG=23,VAL=1
1796 RF24:RBR:REG=23,VAL=1
1799 RF24:RBR:REG=23,VAL=1
1801 RF24:RBR:REG=23,VAL=1
1804 RF24:RBR:REG=23,VAL=1
1806 RF24:RBR:REG=23,VAL=1
1808 RF24:RBR:REG=23,VAL=1
1811 RF24:RBR:REG=23,VAL=1
1813 RF24:RBR:REG=23,VAL=1
1816 RF24:RBR:REG=23,VAL=1
1818 RF24:RBR:REG=23,VAL=1
1821 RF24:RBR:REG=23,VAL=1
1823 RF24:RBR:REG=23,VAL=1
1826 RF24:RBR:REG=23,VAL=1
1828 RF24:RBR:REG=23,VAL=1
1830 RF24:RBR:REG=23,VAL=1
1833 RF24:RBR:REG=23,VAL=1
1836 RF24:RBR:REG=23,VAL=1
1839 RF24:RBR:REG=23,VAL=1
1841 RF24:RBR:REG=23,VAL=1
1844 RF24:RBR:REG=23,VAL=1
1846 RF24:RBR:REG=23,VAL=1
1849 RF24:RBR:REG=23,VAL=1
1851 RF24:RBR:REG=23,VAL=1
1853 RF24:RBR:REG=23,VAL=1
1856 RF24:RBR:REG=23,VAL=1
1858 RF24:RBR:REG=23,VAL=1
1861 RF24:RBR:REG=23,VAL=1
1863 RF24:RBR:REG=23,VAL=1
1866 RF24:RBR:REG=23,VAL=1
1868 RF24:RBR:REG=23,VAL=1
1871 RF24:RBR:REG=23,VAL=1
1873 RF24:RBR:REG=23,VAL=1
1875 RF24:RBR:REG=23,VAL=1
1879 RF24:RBR:REG=23,VAL=1
1881 RF24:RBR:REG=23,VAL=1
1884 RF24:RBR:REG=23,VAL=1
1886 RF24:RBR:REG=23,VAL=1
1889 RF24:RBR:REG=23,VAL=1
1891 RF24:RBR:REG=23,VAL=1
1894 RF24:RBR:REG=23,VAL=1
1896 RF24:RBR:REG=23,VAL=1
1899 RF24:RBR:REG=23,VAL=1
1901 RF24:RBR:REG=23,VAL=1
1903 RF24:RBR:REG=23,VAL=1
1906 RF24:RBR:REG=23,VAL=1
1908 RF24:RBR:REG=23,VAL=1
1911 RF24:RBR:REG=23,VAL=1
1913 RF24:RBR:REG=23,VAL=1
1916 RF24:RBR:REG=23,VAL=1
1918 RF24:RBR:REG=23,VAL=1
1922 RF24:RBR:REG=23,VAL=1
1924 RF24:RBR:REG=23,VAL=1
1926 RF24:RBR:REG=23,VAL=1
1929 RF24:RBR:REG=23,VAL=1
1931 RF24:RBR:REG=23,VAL=1
1934 RF24:RBR:REG=23,VAL=1
1936 RF24:RBR:REG=23,VAL=1
1939 RF24:RBR:REG=23,VAL=1
1941 RF24:RBR:REG=23,VAL=1
1944 RF24:RBR:REG=23,VAL=1
1946 RF24:RBR:REG=23,VAL=1
1948 RF24:RBR:REG=23,VAL=1
1951 RF24:RBR:REG=23,VAL=1
1953 RF24:RBR:REG=23,VAL=1
1956 RF24:RBR:REG=23,VAL=1
1958 RF24:RBR:REG=23,VAL=1
1961 RF24:RBR:REG=23,VAL=1
1964 RF24:RBR:REG=23,VAL=1
1967 RF24:RBR:REG=23,VAL=1
1969 RF24:RBR:REG=23,VAL=1
1971 RF24:RBR:REG=23,VAL=1
1974 RF24:RBR:REG=23,VAL=1
1976 RF24:RBR:REG=23,VAL=1
1979 RF24:RBR:REG=23,VAL=1
1981 RF24:RBR:REG=23,VAL=1
1984 RF24:RBR:REG=23,VAL=1
1986 RF24:RBR:REG=23,VAL=1
1989 RF24:RBR:REG=23,VAL=1
1991 RF24:RBR:REG=23,VAL=1
1993 RF24:RBR:REG=23,VAL=1
1996 RF24:RBR:REG=23,VAL=1
1998 RF24:RBR:REG=23,VAL=1
2001 RF24:RBR:REG=23,VAL=1
2003 RF24:RBR:REG=23,VAL=1
2007 RF24:RBR:REG=23,VAL=1
2009 RF24:RBR:REG=23,VAL=1
2012 RF24:RBR:REG=23,VAL=1
2014 RF24:RBR:REG=23,VAL=1
2016 RF24:RBR:REG=23,VAL=1
2019 RF24:RBR:REG=23,VAL=1
2021 RF24:RBR:REG=23,VAL=1
2024 RF24:RBR:REG=23,VAL=1
2026 RF24:RBR:REG=23,VAL=1
2029 RF24:RBR:REG=23,VAL=1
2031 RF24:RBR:REG=23,VAL=1
2034 RF24:RBR:REG=23,VAL=1
2036 RF24:RBR:REG=23,VAL=1
2039 RF24:RBR:REG=23,VAL=1
2041 RF24:RBR:REG=23,VAL=1
2043 RF24:RBR:REG=23,VAL=1
2046 RF24:RBR:REG=23,VAL=1
2049 RF24:RBR:REG=23,VAL=1
2052 RF24:RBR:REG=23,VAL=1
2054 RF24:RBR:REG=23,VAL=1
2057 RF24:RBR:REG=23,VAL=1
2059 RF24:RBR:REG=23,VAL=1
2062 RF24:RBR:REG=23,VAL=1
2064 RF24:RBR:REG=23,VAL=1
2066 RF24:RBR:REG=23,VAL=1
2069 RF24:RBR:REG=23,VAL=1
2071 RF24:RBR:REG=23,VAL=1
2074 RF24:RBR:REG=23,VAL=1
2076 RF24:RBR:REG=23,VAL=1
2079 RF24:RBR:REG=23,VAL=1
2081 RF24:RBR:REG=23,VAL=1
2084 RF24:RBR:REG=23,VAL=1
2086 RF24:RBR:REG=23,VAL=1
2088 RF24:RBR:REG=23,VAL=1
2092 RF24:RBR:REG=23,VAL=1
2094 RF24:RBR:REG=23,VAL=1
2097 RF24:RBR:REG=23,VAL=1
2099 RF24:RBR:REG=23,VAL=1
2102 RF24:RBR:REG=23,VAL=1
2104 RF24:RBR:REG=23,VAL=1
2107 RF24:RBR:REG=23,VAL=1
2109 RF24:RBR:REG=23,VAL=1
2111 RF24:RBR:REG=23,VAL=1
2114 RF24:RBR:REG=23,VAL=1
2116 RF24:RBR:REG=23,VAL=1
2119 RF24:RBR:REG=23,VAL=1
2121 RF24:RBR:REG=23,VAL=1
2124 RF24:RBR:REG=23,VAL=1
2126 RF24:RBR:REG=23,VAL=1
2129 RF24:RBR:REG=23,VAL=1
2131 RF24:RBR:REG=23,VAL=1
2134 RF24:RBR:REG=23,VAL=1
2137 RF24:RBR:REG=23,VAL=1
2139 RF24:RBR:REG=23,VAL=1
2142 RF24:RBR:REG=23,VAL=1
2144 RF24:RBR:REG=23,VAL=1
2147 RF24:RBR:REG=23,VAL=1
2149 RF24:RBR:REG=23,VAL=1
2152 RF24:RBR:REG=23,VAL=1
2154 RF24:RBR:REG=23,VAL=1
2157 RF24:RBR:REG=23,VAL=1
2159 RF24:RBR:REG=23,VAL=1
2161 RF24:RBR:REG=23,VAL=1
2164 RF24:RBR:REG=23,VAL=1
2166 RF24:RBR:REG=23,VAL=1
2169 RF24:RBR:REG=23,VAL=1
2171 RF24:RBR:REG=23,VAL=1
2174 RF24:RBR:REG=23,VAL=1
2177 RF24:RBR:REG=23,VAL=1
2180 RF24:RBR:REG=23,VAL=1
2182 RF24:RBR:REG=23,VAL=1
2184 RF24:RBR:REG=23,VAL=1
2187 RF24:RBR:REG=23,VAL=1
2189 RF24:RBR:REG=23,VAL=1
2192 RF24:RBR:REG=23,VAL=1
2194 RF24:RBR:REG=23,VAL=1
2197 RF24:RBR:REG=23,VAL=1
2199 RF24:RBR:REG=23,VAL=1
2202 RF24:RBR:REG=23,VAL=1
2204 RF24:RBR:REG=23,VAL=1
2206 RF24:RBR:REG=23,VAL=1
2209 RF24:RBR:REG=23,VAL=1
2211 RF24:RBR:REG=23,VAL=1
2214 RF24:RBR:REG=23,VAL=1
2216 RF24:RBR:REG=23,VAL=1
2220 RF24:RBR:REG=23,VAL=1
2222 RF24:RBR:REG=23,VAL=1
2225 RF24:RBR:REG=23,VAL=1
2227 RF24:RBR:REG=23,VAL=1
2229 RF24:RBR:REG=23,VAL=1
2232 RF24:RBR:REG=23,VAL=1
2234 RF24:RBR:REG=23,VAL=1
2237 RF24:RBR:REG=23,VAL=1
2239 RF24:RBR:REG=23,VAL=1
2242 RF24:RBR:REG=23,VAL=1
2244 RF24:RBR:REG=23,VAL=1
2247 RF24:RBR:REG=23,VAL=1
2249 RF24:RBR:REG=23,VAL=1
2251 RF24:RBR:REG=23,VAL=1
2254 RF24:RBR:REG=23,VAL=1
2256 RF24:RBR:REG=23,VAL=1
2259 RF24:RBR:REG=23,VAL=1
2262 RF24:RBR:REG=23,VAL=1
2265 RF24:RBR:REG=23,VAL=1
2267 RF24:RBR:REG=23,VAL=1
2270 RF24:RBR:REG=23,VAL=1
2272 RF24:RBR:REG=23,VAL=1
2275 RF24:RBR:REG=23,VAL=1
2277 RF24:RBR:REG=23,VAL=1
2279 RF24:RBR:REG=23,VAL=1
2282 RF24:RBR:REG=23,VAL=1
2284 RF24:RBR:REG=23,VAL=1
2287 RF24:RBR:REG=23,VAL=1
2289 RF24:RBR:REG=23,VAL=1
2292 RF24:RBR:REG=23,VAL=1
2294 RF24:RBR:REG=23,VAL=1
2297 RF24:RBR:REG=23,VAL=1
2299 RF24:RBR:REG=23,VAL=1
2301 RF24:RBR:REG=23,VAL=1
2305 RF24:RBR:REG=23,VAL=1
2307 RF24:RBR:REG=23,VAL=1
2310 RF24:RBR:REG=23,VAL=1
2312 RF24:RBR:REG=23,VAL=1
2315 RF24:RBR:REG=23,VAL=1
2317 RF24:RBR:REG=23,VAL=1
2320 RF24:RBR:REG=23,VAL=1
2322 RF24:RBR:REG=23,VAL=1
2324 RF24:RBR:REG=23,VAL=1
2327 RF24:RBR:REG=23,VAL=1
2329 RF24:RBR:REG=23,VAL=1
2332 RF24:RBR:REG=23,VAL=1
2334 RF24:RBR:REG=23,VAL=1
2337 RF24:RBR:REG=23,VAL=1
2339 RF24:RBR:REG=23,VAL=1
2342 RF24:RBR:REG=23,VAL=1
2344 RF24:RBR:REG=23,VAL=1
2347 RF24:RBR:REG=23,VAL=1
2350 RF24:RBR:REG=23,VAL=1
2352 RF24:RBR:REG=23,VAL=1
2355 RF24:RBR:REG=23,VAL=1
2357 RF24:RBR:REG=23,VAL=1
2360 RF24:RBR:REG=23,VAL=1
2362 RF24:RBR:REG=23,VAL=1
2365 RF24:RBR:REG=23,VAL=1
2367 RF24:RBR:REG=23,VAL=1
2369 RF24:RBR:REG=23,VAL=1
2372 RF24:RBR:REG=23,VAL=1
2374 RF24:RBR:REG=23,VAL=1
2377 RF24:RBR:REG=23,VAL=1
2379 RF24:RBR:REG=23,VAL=1
2382 RF24:RBR:REG=23,VAL=1
2384 RF24:RBR:REG=23,VAL=1
2387 RF24:RBR:REG=23,VAL=1
2390 RF24:RBR:REG=23,VAL=1
2393 RF24:RBR:REG=23,VAL=1
2395 RF24:RBR:REG=23,VAL=1
2397 RF24:RBR:REG=23,VAL=1
2400 RF24:RBR:REG=23,VAL=1
2402 RF24:RBR:REG=23,VAL=1
2405 RF24:RBR:REG=23,VAL=1
2407 RF24:RBR:REG=23,VAL=1
2410 RF24:RBR:REG=23,VAL=1
2412 RF24:RBR:REG=23,VAL=1
2415 RF24:RBR:REG=23,VAL=1
2417 RF24:RBR:REG=23,VAL=1
2419 RF24:RBR:REG=23,VAL=1
2422 RF24:RBR:REG=23,VAL=1
2424 RF24:RBR:REG=23,VAL=1
2427 RF24:RBR:REG=23,VAL=1
2429 RF24:RBR:REG=23,VAL=1
2433 RF24:RBR:REG=23,VAL=1
2435 RF24:RBR:REG=23,VAL=1
2438 RF24:RBR:REG=23,VAL=1
2440 RF24:RBR:REG=23,VAL=1
2442 RF24:RBR:REG=23,VAL=1
2445 RF24:RBR:REG=23,VAL=1
2447 RF24:RBR:REG=23,VAL=1
2450 RF24:RBR:REG=23,VAL=1
2452 RF24:RBR:REG=23,VAL=1
2455 RF24:RBR:REG=23,VAL=1
2457 RF24:RBR:REG=23,VAL=1
2460 RF24:RBR:REG=23,VAL=1
2462 RF24:RBR:REG=23,VAL=1
2464 RF24:RBR:REG=23,VAL=1
2467 RF24:RBR:REG=23,VAL=1
2469 RF24:RBR:REG=23,VAL=1
2472 RF24:RBR:REG=23,VAL=1
2475 RF24:RBR:REG=23,VAL=1
2478 RF24:RBR:REG=23,VAL=1
2480 RF24:RBR:REG=23,VAL=1
2483 RF24:RBR:REG=23,VAL=1
2485 RF24:RBR:REG=23,VAL=1
2487 RF24:RBR:REG=23,VAL=1
2490 RF24:RBR:REG=23,VAL=1
2492 RF24:RBR:REG=23,VAL=1
2495 RF24:RBR:REG=23,VAL=1
2497 RF24:RBR:REG=23,VAL=1
2500 RF24:RBR:REG=23,VAL=1
2502 RF24:RBR:REG=23,VAL=1
2505 RF24:RBR:REG=23,VAL=1
2507 RF24:RBR:REG=23,VAL=1
2510 RF24:RBR:REG=23,VAL=1
2512 RF24:RBR:REG=23,VAL=1
2514 RF24:RBR:REG=23,VAL=1
2518 RF24:RBR:REG=23,VAL=1
2520 RF24:RBR:REG=23,VAL=1
2523 RF24:RBR:REG=23,VAL=1
2525 RF24:RBR:REG=23,VAL=1
2528 RF24:RBR:REG=23,VAL=1
2530 RF24:RBR:REG=23,VAL=1
2533 RF24:RBR:REG=23,VAL=1
2535 RF24:RBR:REG=23,VAL=1
2537 RF24:RBR:REG=23,VAL=1
2540 RF24:RBR:REG=23,VAL=1
2542 RF24:RBR:REG=23,VAL=1
2545 RF24:RBR:REG=23,VAL=1
2547 RF24:RBR:REG=23,VAL=1
2550 RF24:RBR:REG=23,VAL=1
2552 RF24:RBR:REG=23,VAL=1
2555 RF24:RBR:REG=23,VAL=1
2557 RF24:RBR:REG=23,VAL=1
2560 RF24:RBR:REG=23,VAL=1
2563 RF24:RBR:REG=23,VAL=1
2565 RF24:RBR:REG=23,VAL=1
2568 RF24:RBR:REG=23,VAL=1
2570 RF24:RBR:REG=23,VAL=1
2573 RF24:RBR:REG=23,VAL=1
2575 RF24:RBR:REG=23,VAL=1
2578 RF24:RBR:REG=23,VAL=1
2580 RF24:RBR:REG=23,VAL=1
2582 RF24:RBR:REG=23,VAL=1
2585 RF24:RBR:REG=23,VAL=1
2587 RF24:RBR:REG=23,VAL=1
2590 RF24:RBR:REG=23,VAL=1
2592 RF24:RBR:REG=23,VAL=1
2595 RF24:RBR:REG=23,VAL=1
2597 RF24:RBR:REG=23,VAL=1
2600 RF24:RBR:REG=23,VAL=1
2603 RF24:RBR:REG=23,VAL=1
2605 RF24:RBR:REG=23,VAL=1
2608 RF24:RBR:REG=23,VAL=1
2610 RF24:RBR:REG=23,VAL=1
2613 RF24:RBR:REG=23,VAL=1
2615 RF24:RBR:REG=23,VAL=1
2618 RF24:RBR:REG=23,VAL=1
2620 RF24:RBR:REG=23,VAL=1
2623 RF24:RBR:REG=23,VAL=1
2625 RF24:RBR:REG=23,VAL=1
2627 RF24:RBR:REG=23,VAL=1
2630 RF24:RBR:REG=23,VAL=1
2632 RF24:RBR:REG=23,VAL=1
2635 RF24:RBR:REG=23,VAL=1
2637 RF24:RBR:REG=23,VAL=1
2640 RF24:RBR:REG=23,VAL=1
2642 RF24:RBR:REG=23,VAL=1
2646 RF24:RBR:REG=23,VAL=1
2648 RF24:RBR:REG=23,VAL=1
2651 RF24:RBR:REG=23,VAL=1
2653 RF24:RBR:REG=23,VAL=1
2655 RF24:RBR:REG=23,VAL=1
2658 RF24:RBR:REG=23,VAL=1
2660 RF24:RBR:REG=23,VAL=1
2663 RF24:RBR:REG=23,VAL=1
2665 RF24:RBR:REG=23,VAL=1
2668 RF24:RBR:REG=23,VAL=1
2670 RF24:RBR:REG=23,VAL=1
2673 RF24:RBR:REG=23,VAL=1
2675 RF24:RBR:REG=23,VAL=1
2677 RF24:RBR:REG=23,VAL=1
2680 RF24:RBR:REG=23,VAL=1
2682 RF24:RBR:REG=23,VAL=1
2685 RF24:RBR:REG=23,VAL=1
2688 RF24:RBR:REG=23,VAL=1
2691 RF24:RBR:REG=23,VAL=1
2693 RF24:RBR:REG=23,VAL=1
2696 RF24:RBR:REG=23,VAL=1
2698 RF24:RBR:REG=23,VAL=1
2700 RF24:RBR:REG=23,VAL=1
2703 RF24:RBR:REG=23,VAL=1
2705 RF24:RBR:REG=23,VAL=1
2708 RF24:RBR:REG=23,VAL=1
2710 RF24:RBR:REG=23,VAL=1
2713 RF24:RBR:REG=23,VAL=1
2715 RF24:RBR:REG=23,VAL=1
2718 RF24:RBR:REG=23,VAL=1
2720 RF24:RBR:REG=23,VAL=1
2722 RF24:RBR:REG=23,VAL=1
2725 RF24:RBR:REG=23,VAL=1
2727 RF24:RBR:REG=23,VAL=1
2731 RF24:RBR:REG=23,VAL=1
2733 RF24:RBR:REG=23,VAL=1
2736 RF24:RBR:REG=23,VAL=1
2738 RF24:RBR:REG=23,VAL=1
2741 RF24:RBR:REG=23,VAL=1
2743 RF24:RBR:REG=23,VAL=1
I'm not sure what you mean by the gateway sketch, as I understand it, there isn't one for the RPi setup when you have the NRF2401 radio attached directly to the Raspberry Pi GPIO pins, unless you just mean the mysgw.cpp from /mysensors/examples_linux/
Here is the sketch for the DHT11 node (arduino pro mini, 5v -> 3.3v dedicated regulator for the DHT and radio with capacitors installed):
Is it simply not possible to have both gateway and Openhab live on the same RPi? Really at a loss here; very discouraging.