I need too
Posts made by Ivan Z
-
RE: sendHeartbeat not work right
before = work
presentation = work
setup = work???
-
RE: sendHeartbeat not work right
This is only part of the code.
Full version sketch
https://github.com/Shagrat2/MSMDLed/blob/master/MSMDLed.ino -
sendHeartbeat not work right
I send Heartbeat, but receive in system I_DISCOVER_RESPONSE
Sketch code
void loop() { unsigned long tick = millis(); if (tick - previsionTime > HeartBitInterval) { previsionTime = tick; sendHeartbeat(); } }
Node log
__ __ ____ | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ |___/ 2.3.0 16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.3.0 ... 14960 TSF:MSG:SEND,115-115-0-0,s=2,c=1,t=2,pt=1,l=1,sg=0,ft=0,st=OK:1 48934 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0: 48941 TSF:MSG:BC 49762 TSF:MSG:SEND,115-115-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=0,st=OK:0 49772 TSF:MSG:READ,0-5-255,s=255,c=3,t=20,pt=0,l=0,sg=0: 49780 TSF:MSG:BC 49782 TSF:MSG:READ,0-6-255,s=255,c=3,t=20,pt=0,l=0,sg=0: 49788 TSF:MSG:BC 1254332 TSF:MSG:READ,0-0-255,s=255,c=3,t=20,pt=0,l=0,sg=0: 1254340 TSF:MSG:BC 1255313 TSF:MSG:SEND,115-115-0-0,s=255,c=3,t=21,pt=1,l=1,sg=0,ft=0,st=OK:0 1255323 TSF:MSG:READ,0-5-255,s=255,c=3,t=20,pt=0,l=0,sg=0: 1255331 TSF:MSG:BC
Log in system: MajorDomo
2018-11-29 10:26:19 699 >> 3:Internal; Gate:1; Node:115; Sensor:255; Ack:0; Sub:21:I_DISCOVER_RESPONSE; Msg:0 2018-11-29 10:25:47 133 >> 1:Set; Gate:1; Node:115; Sensor:2; Ack:0; Sub:2:V_STATUS; Msg:1 ...
-
RE: 💬 NodeManager
Why did you use the REQ type for the relay?
Please add support for SET tooREQ - nide to read Relay status
-
RE: 💬 NodeManager
@user2684
Function nameDo you mean the formula to calculate the percentage?
Append flag IFDEF for not send this information (Only voltage) -
RE: 💬 NodeManager
Please use IFDEF for "Battery procetage"
I calculate this in the controller (Save battery) -
RE: 💬 MDMS OEM2
Yes, I know about this problem
But i want repeat size "MDMS OEM"
It was a good option for the case http://www.ebay.com/sch/sis.html?_nkw=USB+Mobile+Power+Bank+Phone+Charger+Pack+18650+Rechargeable+Battery+Box+Case+DIY&_id=381009132329&&_trksid=p2060353.m2749.l2658 -
RE: 💬 NodeManager
This version already allows wizard (.php) to generate a sketch
-
RE: 💬 NodeManager
Please show my sample with DHT22
Append optimization flag.
For save battery life, do not send the same values -
RE: 💬 NodeManager
How make not sleep sensor?
void NodeManager::loop() {
#if SLEEP_MANAGER == 1
Only for sleep
#end
}May be to make wait logic
-
RE: 💬 Log Parser
I crash parser
0 MCO:BGN:INIT REPEATER,CP=RNORAA-,VER=2.1.1 4 TSM:INIT 4 TSF:WUR:MS=0 11 TSM:INIT:TSP OK 13 TSF:SID:OK,ID=15 15 TSM:FPAR 51 TSF:MSG:SEND,15-15-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 2059 !TSM:FPAR:NO REPLY 2061 TSM:FPAR 2097 TSF:MSG:SEND,15-15-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 2610 TSF:MSG:READ,5-5-15,s=255,c=3,t=8,pt=1,l=1,sg=0:1 2615 TSF:MSG:FPAR OK,ID=5,D=2 3053 TSF:MSG:READ,0-0-15,s=255,c=3,t=8,pt=1,l=1,sg=0:0 3057 TSF:MSG:FPAR OK,ID=0,D=1 4105 TSM:FPAR:OK 4106 TSM:ID 4107 TSM:ID:OK 4109 TSM:UPL 4146 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=NACK:1 6153 TSM:UPL 6190 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=1,st=NACK:1 8197 TSM:UPL 8233 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=2,st=NACK:1 10241 TSM:UPL 10244 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=3,st=OK:1 10250 TSF:MSG:READ,0-0-15,s=255,c=3,t=25,pt=1,l=1,sg=0:1 10255 TSF:MSG:PONG RECV,HP=1 10258 TSM:UPL:OK 10259 TSM:READY:ID=15,PAR=0,DIS=1 10267 TSF:MSG:SEND,15-15-0-0,s=255,c=4,t=0,pt=6,l=10,sg=0,ft=0,st=OK:FFFFFFFF40016FF10300 10311 !TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=NACK:0100 12322 TSF:MSG:SEND,15-15-0-0,s=255,c=0,t=18,pt=0,l=5,sg=0,ft=1,st=OK:2.1.1 12331 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 12562 TSF:MSG:READ,0-0-15,s=255,c=3,t=6,pt=0,l=1,sg=0:M 12578 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=11,pt=0,l=8,sg=0,ft=0,st=OK:Lighting 12597 TSF:MSG:SEND,15-15-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.2 12613 TSF:MSG:SEND,15-15-0-0,s=1,c=0,t=3,pt=0,l=11,sg=0,ft=0,st=OK:Light relay 12628 TSF:MSG:SEND,15-15-0-0,s=2,c=0,t=6,pt=0,l=15,sg=0,ft=0,st=OK:Key temperature 12641 TSF:MSG:SEND,15-15-0-0,s=3,c=0,t=30,pt=0,l=14,sg=0,ft=0,st=OK:Source current
-
RE: Rain Guage
Sensor manufacturer has sent information about the sensor. 0.3 mm to 1 tick
-
RE: TCP service for Raspberry Pi NRF24l01 direct connection
Append save node map to disk
-
RE: MySensors Php API class + command line script + Form
There is my php module for MajorDomo https://github.com/Shagrat2/majordomo-mysensor
His contain library for MYSensor phpMS.php, and to extend classes for Serrial & TCP (phpMSCom.php, phpMSTcp.php) -
TCP service for Raspberry Pi NRF24l01 direct connection
Raspberry as a TCP Gateway for MySensor
This service like serrial but work on TCP
http://forum.mysensors.org/topic/1151/tutorial-raspberry-pi-nrf24l01-direct-connection- No freeze
- No 100% processor load
- Multi connection client
- Fixed problem with invalid format packet
https://github.com/iTankru/MySensorsRaspberryPiTCP
Connection to service: localhost:5003
Please test service
-
RE: Is it possible to run more than one pin to an interrupt for sleep/wake purposes?
This is only a project (In progress).
Be sure to add
But I think that it only increase consumption -
RE: Battery button sensor
Update
- Error. Reversed MISO and MOSI
- Append Capacitor C1 on RESET
- Change diode component size to SOD-123
- Append Pad for external LED
Calculate battery life
Capacity rating of battery (mAh) = 250
Current consumption of device during sleep (mA) = 0.02
Current consumption of device during wake (mA) = 18
Number of wakeups per hour = 1
Duration of wake time (ms) = 20
Estimated battery life is: 440.51 days, or 1.21 years.The device wakes up only when pressed button
-
RE: Battery button sensor
Append license info
Debug device
sam debug photo
image url) -
RE: 💬 Small MySensor
Changes: Fix license info
.lay files is a "Sprint-Layout" http://www.abacom-online.de/uk/html/sprint-layout.html
-
RE: 2 channel in wall dimmer
This will make your box less
https://ac-dc.power.com/products/linkswitch-family/linkswitch-tn/ -
RE: Can I use W25Q32 SPI flash as alternate for AT25DF512C?
Chips that you choose, either expensive or big delivery
-
RE: Can I use W25Q32 SPI flash as alternate for AT25DF512C?
Support this chip?
Other chip?
M25P80-VMW6TG
SST25VF016B-50-4I-S2AF-TPlease give supported chip list
-
RE: Battery button sensor
I wanted to make the most cheap device. And not set hardware debouncing.
But set external pull-up resistors to reduce power consumptionSostware debouncing by delay in interrupt
-
User broadcast message
Need search engine for actuator. For system without base station
1 Binding mode
- Master and Slave has binding mode button.
- Master send broadcast search Slave.
- Master request Slave presentation sensor
- Master save to EEPROM Slave ID
2 Work mode
- Master send message to Slave ID
- Slave do work (Relay)
- Reply ACK to Master
- If have GateWay, send self status
-
RE: Req BASE_RADIO_ID
Inclusive mode need only when configured network. It lasts one minute. No nide listen self pipe.
After end inclusive mode, gateway listen self pipehis makes it possible to have a whole range of addresses
-
Req BASE_RADIO_ID
RF24 can listen some Pipe
Сan make 2 pipe. 1 - public, 2 - selfWhen gateway in inclusive mode listen PUBLIC pipe. Node req ID. GateWay send ID and SELF pipe. Node save and listen SELF PIPE. Other communication work in SLEF pipe
Pipe ID request form software (not in gateway)
This algorithm has the following advantages
- No need to flash ready device. Purchased from third parties
- The work of many networks in one place
- Easy change of the network
- Ready sensor from third parties does not require reprogramming by your network
There is an idea to promote this product to study in schools. To do this, you need to have multiple networks in the same classroom
-
RE: Introducing MySensors on nRF24LE1
What is the current in transmition and idle mode?
Did you realize sleep? -
RE: RelayWithButtonActuator
Gateway not see ACK flag. Please fix this bag
Lib version 1.5, Node & gate = 1.5RelayButton log
send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0 Button value:0 Button value:1 send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:1 Button value:0 Button value:1 send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0 Button value:0 Button value:1 send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:1 Button value:0 Button value:1 send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:0 Button value:0 Button value:1 send: 42-42-0-0 s=1,c=1,t=2,pt=2,l=2,sg=0,st=fail:1
Gateway log
2015-08-04 18:52:07 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:0 2015-08-04 18:52:07 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:1 2015-08-04 18:52:07 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:0 2015-08-04 18:52:07 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:1 2015-08-04 18:52:08 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:0 2015-08-04 18:52:08 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:1 2015-08-04 18:52:08 Set: Node:42; Sensor:1; Type:1; Ack:0; Sub:2; Msg:0
-
RE: Water Flow sensor
I using this sensor
#define PULSE_FACTOR 450
All sensor has different property. Read instruction or make measurement.
I made measurement because documentation has different value
-
RE: Minimal design thoughts
@AWI
What regulator do you use?I do not use the regulator because it has a extremeconsumption
AMS1117-3.3 = 5~10mV in idle -
RE: Minimal design thoughts
DHT22 = 3.3-6V DC
CR123A = 3.6v ( Bat full charge i have 4.07v )
NRF24L01+ = 3.6
I have 8 device and his work with CR123A for 6 months
When charge some device cannot translate packets, but after work -
RE: Minimal design thoughts
CR123A in full charge has 4.07v
Gas counter started 2014/11/01.
In winter, temperatures drop below -10
-
RE: Minimal design thoughts
Why do not use CR123A accumulator?
It is smaller and can be charged.
And not nide regulatorI use box with charger. With CR123A accumulator.
http://www.ebay.com/itm/2600Mah-USB-Portable-External-Battery-Charger-Power-Bank-for-Cell-Mobile-Phone-/301514424642?pt=LH_DefaultDomain_0&var=&hash=item4633a90142Very cheap
-
RE: Mini battery sensor
Thank
Sensor ready work. (I have not valid binary Optiboot) -
Mini battery sensor
I was inspired by the project "Minimal design thoughts" and i made my version, without 32Khz crystal, EPROM and security
The result
I have no experience with write bootloader. Without crystal.
Please help my start my project
I want use Optiboot bootloader
Best regards from MajorDomo project users
-
RE: Humidity / Temperature Sensor
I power DHT22 from arduino pin. It help make economy battery. When controller sleep, power pin set to low.
If using 3.3 power - no needed R2
If you use CR123A accomulator. You will not need Regulator and the device will be smaller
-
RE: MySensors support in MajorDoMo
I have 4 mysensor device in MajorDomo. Work well.
- Door sensor, Reed switch & Vibration sensor
- Pulse meter for Gas meter
- DHT22
- Hygrometer for my plants
In plan
- Pulse meter for water counter
Every sensor insert in small box - power bank http://www.ebay.com/itm/2600mAh-USB-Power-Bank-Portable-External-Battery-Charger-For-iphone-Samsung-/261693722800?pt=US_Cell_Phone_PDA_Chargers&var=&hash=item3cee2950b0
And small accumulator http://www.ebay.com/itm/271676342921?_trksid=p2060778.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AITLooks like this http://smartliving.ru/forum/download/file.php?id=1417
-
RE: Minimal design thoughts
If use one-sided mounting and on other side set CR2450 holder. Will get a small deviceю