How do you achieve 3 years of runtime? How often do you wakeup the Atmega to measure the values and send them?
gloob
Posts
-
💬 Temperature and humidity sensor(ver.ATmega328)+E-Ink display -
RGB CHAINABLE GROVE LED -
Sensebender Europe resellers ?But if you want to extend your system, you are more flexible with the MySensors solution in the future.
-
Sensebender Europe resellers ?If you use arduino nanos you don't need any regulators. they have 3.3V for the NRF24L01+ and 5V for the relay.
You even don't need an ethernet shield if you connect the gateway via USB to your controller (Raspberry pi, ...)This would be my shoping list:
- 2 x https://de.aliexpress.com/item/Freeshipping-Nano-3-0-controller-compatible-for-arduino-nano-CH340-USB-driver-NO-CABLE/32341832857.html
- 2 x https://de.aliexpress.com/item/1pcs-Wireless-Transceiver-For-Arduino-NRF24L01-2-4GHz-Antenna-Module-For-Microcontroll-DropShipping/32599246022.html
- 1 x https://de.aliexpress.com/item/120pcs-40P-10cm-male-to-male-female-to-male-and-female-to-female-dupont-cable-connector/32798042976.html
- 1 x https://de.aliexpress.com/item/1-Channel-Relay-Module-Interface-Board-Shield-For-Arduino-5V-Low-Level-Trigger-One-PIC-AVR/32800597285.html
8$ for a complete test system.
-
Sensebender Europe resellers ?@anonymouslemming said in Sensebender Europe resellers ?:
@gohan said in Sensebender Europe resellers ?:
For gateway you could use any arduino uno with or without a w5100 network or an esp8266 if you are just doing tests
ah, I wasn't aware of that. Are there any docs that demonstrate how to build a gateway using that ?
That might work out cheaper in the short term to see if this is a viable solution for what I want to do.
-
Buy big amount of Arduino nano with FTDIHello,
Does anybody have an idea where I can buy a big amount of Arduino Nanos with FTDI chip?
I need around 100 Nanos or more.I don't need genuine modules. I want them to be as cheap as possible. I can buy them from Aliexpress but the biggest number I could find is 5 items and the price is not really good.
Thanks.
Stefan -
💬 MySWeMosIRShield - IR blaster shield for WeMos D1I'm right that there is no resistor between the LEDs and 5V or GND?
Is it not required? -
💬 MySWeMosIRShield - IR blaster shield for WeMos D1I like the board and did already order some pcbs for testing.
-
No new node possibleI did not flash all my nodes with a static node ID and now all new nodes can join the network and are visible in FHEM.
#define MY_NODE_ID 10 #define MY_PARENT_NODE_ID 0I think there is any problem with my WeMos gateway. I will analyze this more in detail, when I have some more time.
-
No new node possibleThanks for your support. For me it seems that we have some general problems at the moment.
I will try the following things later:
#define MY_NODE_ID 10 #define MY_PARENT_NODE_ID 0 #define MY_PARENT_NODE_IS_STATIC-
use dev version of 2.1.1
-
downgrade to 2.0.0 or less to check if the hardware is working without any problems
-
use a serial gateway or try to use my WeMos in serial mode
These are the topics with a similar error (just as a summary for myself):
https://forum.mysensors.org/topic/6147/tsm-fpar-no-reply
https://forum.mysensors.org/topic/6118/problem-connecting-to-gateway
https://forum.mysensors.org/topic/6063/solved-mqtt-esp8266-gateway-issue
Edit: does anybody have an idea how to use a ESP as serial gateway?
-
-
No new node possibleSo the other thread mentions to go back to 2.0.0
I will try this today and give feedback. -
No new node possibleYes I also tried to restart the node when inclusing mode is on and I don't use MQTT.
-
!TSM:FPAR:NO REPLYI think we both have the same problem:
-
No new node possibleBut even when I set FHEM to inclusion_mode = 1, I get this error.
I would assume that the node finds the parent without a running controller if the node ID and parent ID are static. -
No new node possibleInclusion mode is set on the controller. But I think I don't have to activate this in the controller if the node has a static ID.
-
No new node possibleI did this test also. When I flash a node that was working before with a new ID, it will not join the network.
When I flash it back, to use the old static ID, it is working again without any problems.Currently I think it is a problem with the WeMos pro mini. I will try it with an other WeMos when it arrives from china.
-
No new node possibleThe gateway has a 47µF cap and the nodes use 10uF.
For the gateway I use a NRF24L01-SMD PA+LNA radio module and the nodes use "normal" NRF24L01 modules without PA+LNA.
-
No new node possibleHello,
actually I already have a cap next to the radio and the power is supplied by a ams1117 but I will try to change the power supply of the WeMos.
The strange thing is, that all other nodes (6 with temp, hum and battery) are working without any problems. I only get this issue with new nodes.
Will it help to set the node ID manually in the node sketch? -
No new node possibleExisting nodes work without any problem:
0;255;3;0;9;!TSF:MSG:SEND,0-0-100-100,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,100-100-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=100 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-100-100,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,100-100-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=100 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-100-100,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,100-100-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=100 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;!TSF:MSG:SEND,0-0-100-100,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0 0;255;3;0;9;TSF:MSG:READ,196-196-0,s=1,c=1,t=0,pt=7,l=5,sg=0:22.4 0;255;3;0;9;TSF:MSG:READ,196-196-0,s=2,c=1,t=1,pt=2,l=2,sg=0:45 0;255;3;0;9;TSF:MSG:READ,196-196-0,s=199,c=1,t=38,pt=7,l=5,sg=0:2.922 0;255;3;0;9;TSF:MSG:READ,196-196-0,s=255,c=3,t=0,pt=1,l=1,sg=0:73Even when I set a fixed None ID in the sketch it will not join the network.
When the node is sending a request, I see an update in the debug log of the gateway. So the message gets send correctly.
-
No new node possibleHello,
I have a problem with my network. I can not connect any new nodes to the network.
The gateway shows the following error:
0;255;3;0;9;Client 0: 0;0;3;0;5;1 0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;TSF:PNG:SEND,TO=0 0;255;3;0;9;TSF:CKU:OK 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSF:MSG:BC 0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;TSF:CKU:OK,FCTRL 0;255;3;0;9;TSF:MSG:GWL OK 0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0And on the node i see:
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:FPAR 16 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 2025 !TSM:FPAR:NO REPLY 2027 TSM:FPAR 2029 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 4038 !TSM:FPAR:NO REPLY 4040 TSM:FPAR 4042 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 6051 !TSM:FPAR:NO REPLY 6053 TSM:FPAR 6055 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 8065 !TSM:FPAR:FAIL 8067 TSM:FAIL:CNT=1 8069 TSM:FAIL:PDT 18073 TSM:FAIL:RE-INIT 18075 TSM:INIT 18083 TSM:INIT:TSP OK 18085 TSM:FPAR 18087 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 20097 !TSM:FPAR:NO REPLY 20099 TSM:FPAR 20101 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 22110 !TSM:FPAR:NO REPLY 22112 TSM:FPAR 22114 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 24123 !TSM:FPAR:NO REPLY 24125 TSM:FPAR 24127 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 26136 !TSM:FPAR:FAIL 26138 TSM:FAIL:CNT=2 26140 TSM:FAIL:PDT 36143 TSM:FAIL:RE-INIT 36145 TSM:INIT 36153 TSM:INIT:TSP OK 36155 TSM:FPAR 36157 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 37013 TSF:MSG:READ,200-200-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 38166 !TSM:FPAR:NO REPLY 38168 TSM:FPAR 38170 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:Any ideas if this problem is related to the controller (FHEM) or to MySensors?