@gohan oups ! sorry no i don't have try another controller yet
Posts made by ludoarchi
-
RE: relay statue doesn't change
-
RE: relay statue doesn't change
@gohan i think the nack came when i unplleged the node but i will try again.
there is no nack in the V1log
i would like to try myscontroler but i m not able to start with it ... i ve configured the COM but nothing happened ... i don't find How To for iti also try Double State Relay code V2 and it s the same think ... no statue change
-
RE: relay statue doesn't change
@gohan 16 MCO:BGN:INIT REPEATER,CP=RNNRA---,VER=2.2.0
26 MCO:BGN:BFR
27 TSM:INIT
28 TSF:WUR:MS=0
35 TSM:INIT:TSP OK
37 TSF:SID:OK,ID=136
39 TSM:FPAR
75 TSF:MSG:SEND,136-136-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2083 !TSM:FPAR:NO REPLY
2085 TSM:FPAR
2121 TSF:MSG:SEND,136-136-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2568 TSF:MSG:READ,0-0-136,s=255,c=3,t=8,pt=1,l=1,sg=0:0
2573 TSF:MSG:FPAR OK,ID=0,D=1
2842 TSF:MSG:READ,5-5-136,s=255,c=3,t=8,pt=1,l=1,sg=0:2
2851 TSF:MSG:READ,45-45-136,s=255,c=3,t=8,pt=1,l=1,sg=0:1
4129 TSM:FPAR:OK
4130 TSM:ID
4131 TSM:ID:OK
4133 TSM:UPL
4136 TSF:MSG:SEND,136-136-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
4148 TSF:MSG:READ,0-0-136,s=255,c=3,t=25,pt=1,l=1,sg=0:1
4153 TSF:MSG:PONG RECV,HP=1
4156 TSM:UPL:OK
4157 TSM:READY:ID=136,PAR=0,DIS=1
4162 TSF:MSG:SEND,136-136-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100
4169 TSF:MSG:READ,0-0-136,s=255,c=3,t=15,pt=6,l=2,sg=0:0100
4179 TSF:MSG:SEND,136-136-0-0,s=255,c=0,t=18,pt=0,l=5,sg=0,ft=0,st=OK:2.2.0
4195 TSF:MSG:SEND,136-136-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0
4220 TSF:MSG:READ,0-0-136,s=255,c=3,t=6,pt=0,l=1,sg=0:M
4228 TSF:MSG:SEND,136-136-0-0,s=255,c=3,t=11,pt=0,l=5,sg=0,ft=0,st=OK:Relay
4236 TSF:MSG:SEND,136-136-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.0
4244 TSF:MSG:SEND,136-136-0-0,s=1,c=0,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
4251 MCO:REG:REQ
4254 TSF:MSG:SEND,136-136-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2
4261 TSF:MSG:READ,0-0-136,s=255,c=3,t=27,pt=1,l=1,sg=0:1
4267 MCO:PIM:NODE REG=1
4269 MCO:BGN:STP
4271 MCO:BGN:INIT OK,TSP=1
22720 TSF:MSG:READ,0-0-136,s=1,c=1,t=2,pt=0,l=1,sg=0:0
22724 TSF:MSG:ACK REQ
22737 TSF:MSG:SEND,136-136-0-0,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=OK:0
Incoming change for sensor:1, New status: 0
31295 TSF:MSG:READ,0-0-136,s=1,c=1,t=2,pt=0,l=1,sg=0:0
31299 TSF:MSG:ACK REQ
31337 !TSF:MSG:SEND,136-136-0-0,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0
Incoming change for sensor:1, New status: 0 -
RE: relay statue doesn't change
@boots33 i m using mysensor 2.2 with jeedom last version on rpi3 (serial gateway and node with 4.7uf condo).
i also used my old rpi2 with Mysensors 1.5.4 for test -
RE: relay statue doesn't change
@boots33 that s the code V2
/** * 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 * Example sketch showing how to control physical relays. * This example will remember relay state after power failure. * http://www.mysensors.org/build/relay */ // Enable debug prints to serial monitor #define MY_DEBUG // Enable and select radio type attached #define MY_RADIO_NRF24 //#define MY_RADIO_RFM69 // Enable repeater functionality for this node #define MY_REPEATER_FEATURE #include <MySensors.h> #define RELAY_1 3 // Arduino Digital I/O pin number for first relay (second on pin+1 etc) #define NUMBER_OF_RELAYS 1 // Total number of attached relays #define RELAY_ON 1 // GPIO value to write to turn on attached relay #define RELAY_OFF 0 // GPIO value to write to turn off attached relay void before() { for (int sensor=1, pin=RELAY_1; sensor<=NUMBER_OF_RELAYS; sensor++, pin++) { // Then set relay pins in output mode pinMode(pin, OUTPUT); // Set relay to last known state (using eeprom storage) digitalWrite(pin, loadState(sensor)?RELAY_ON:RELAY_OFF); } } void setup() { } void presentation() { // Send the sketch version information to the gateway and Controller sendSketchInfo("Relay", "1.0"); for (int sensor=1, pin=RELAY_1; sensor<=NUMBER_OF_RELAYS; sensor++, pin++) { // Register all sensors to gw (they will be created as child devices) present(sensor, S_BINARY); } } void loop() { } void receive(const MyMessage &message) { // We only expect one type of message from controller. But we better check anyway. if (message.type==V_STATUS) { // Change relay state digitalWrite(message.sensor-1+RELAY_1, message.getBool()?RELAY_ON:RELAY_OFF); // Store state in eeprom saveState(message.sensor, message.getBool()); // Write some debug info Serial.print("Incoming change for sensor:"); Serial.print(message.sensor); Serial.print(", New status: "); Serial.println(message.getBool()); } }
-
RE: relay statue doesn't change
@boots33 that s the code V1
// Example sketch showing how to control physical relays. // This example will remember relay state even after power failure. #include <MySensor.h> #include <SPI.h> #define RELAY_1 3 // Arduino Digital I/O pin number for first relay (second on pin+1 etc) #define NUMBER_OF_RELAYS 1 // Total number of attached relays #define RELAY_ON 1 // GPIO value to write to turn on attached relay #define RELAY_OFF 0 // GPIO value to write to turn off attached relay MySensor gw; void setup() { // Initialize library and add callback for incoming messages gw.begin(incomingMessage, AUTO, true); // Send the sketch version information to the gateway and Controller gw.sendSketchInfo("Relay", "1.0"); // Fetch relay status for (int sensor=1, pin=RELAY_1; sensor<=NUMBER_OF_RELAYS;sensor++, pin++) { // Register all sensors to gw (they will be created as child devices) gw.present(sensor, S_LIGHT); // Then set relay pins in output mode pinMode(pin, OUTPUT); // Set relay to last known state (using eeprom storage) digitalWrite(pin, gw.loadState(sensor)?RELAY_ON:RELAY_OFF); } } void loop() { // Alway process incoming messages whenever possible gw.process(); } void incomingMessage(const MyMessage &message) { // We only expect one type of message from controller. But we better check anyway. if (message.type==V_LIGHT) { // Change relay state digitalWrite(message.sensor-1+RELAY_1, message.getBool()?RELAY_ON:RELAY_OFF); // Store state in eeprom gw.saveState(message.sensor, message.getBool()); // Write some debug info Serial.print("Incoming change for sensor:"); Serial.print(message.sensor); Serial.print(", New status: "); Serial.println(message.getBool()); } }
-
RE: relay statue doesn't change
@gohan because i remenber that it used to work in that old version. But i have test yesterday with mysensors 2.2.0 et code V2 and it s ths same problem ... an idea ?
-
RE: relay statue doesn't change
@boots33 i only used code from mysensors exemple. I tried exemples V1 and V2 and i always have only 0 sent. I don't understand.
-
RE: relay statue doesn't change
arduini 1.6.5 + Mysensors libraries 1.5.4
and relay actuator code come from mysensors 1.5.4 exemple -
RE: 💬 MYSController
Nice app ! Is there any How To for the begeners i m not able to connect my network. Thinks
-
relay statue doesn't change
hi everyone
i make a relay sensor this weekend but it doesn t work. The statue never change.
This the log if someone can help me
thinkssend: 136-136-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=ok:0
send: 136-136-0-0 s=255,c=0,t=18,pt=0,l=5,sg=0,st=ok:1.5.4
send: 136-136-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=ok:0
read: 0-0-136 s=255,c=3,t=6,pt=0,l=1,sg=0:M
repeater started, id=136, parent=0, distance=1
send: 136-136-0-0 s=255,c=3,t=11,pt=0,l=5,sg=0,st=ok:Relay
send: 136-136-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.0
send: 136-136-0-0 s=1,c=0,t=3,pt=0,l=0,sg=0,st=ok:
read: 0-0-136 s=1,c=1,t=2,pt=0,l=1,sg=0:0
send: 136-136-0-0 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
Incoming change for sensor:1, New status: 0
read: 0-0-136 s=1,c=1,t=2,pt=0,l=1,sg=0:0
send: 136-136-0-0 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
Incoming change for sensor:1, New status: 0
read: 0-0-136 s=1,c=1,t=2,pt=0,l=1,sg=0:0
send: 136-136-0-0 s=1,c=1,t=2,pt=0,l=1,sg=0,st=ok:0
Incoming change for sensor:1, New status: 0 -
RE: Humidity and Temp examples. Where are they?
where do we have to copy/paste the folder MysensorArduinoExemplesMaster ?
thinks -
RE: Problem to compile external mysensor exemple sketches
I finally uninstall and re install arduino ide and mysensors librairies ans understand that a i have to open exemple through the exemple in the ide.
But i still not able to compile external exemple ... like your AcDc double solid state relay with
Ds18b20 ....
I always have a message with librairie error ...
I have difficulties to switch from arduino ide 1.6.5 and mysensors v1 to arduino ide 1.8.5 and mysensors v2 ...
I don t really.know where to copy librairies and exemples ....
If some one can help me ...
THINKS merci -
RE: Problem to compile external mysensor exemple sketches
i finally arrived to compiled
-
RE: Problem to compile external mysensor exemple sketches
when i tried to compile relay actuartor exemple i have this error message : In file included from RelayActuator.ino:40:0:
C:\Program Files (x86)\Arduino\libraries\Mysensors/MySensors.h:28:32: fatal error: core/MySensorsCore.h: No such file or directory
#include "core/MySensorsCore.h"
^
compilation terminated.
Erreur de compilation.
arduino 1.6.5.r2 + librairies 2.1.1 manually copy/paste in the arduino folder
thinks -
Problem to compile external mysensor exemple sketches
Hi guys
I have problem to compile external mysensors exemple.
Always mysensors.h error no such a file ...
I arrived to program basic mysensor exemple but not all.
Laptop w10 + ide 1.8.5 + mysensors 2.1.1 installed + copy/paste external mysensor exemple to exemple arduino folder.
Im a beginer so i have beginer questions !
After installed libraries through the ide library manager there is no libraries folder like with 1.5.4 ?
I tried ide 1.6.5 r2 ...1.8.1...1.8.5 ...
Each time when i come to installed librairies for the first time it's like they are ever installed... manager says "2.1.1 installed".
What about tricks to install external mysensors sketches ?
Thinks -
RE: 💬 AC-DC double solid state relay module
@mr_const ok i understand ! Thinks
-
RE: 💬 AC-DC double solid state relay module
Hi
Noob questions sorry !
1/ Can i used it with 3way switches ?
2/ what are the pins 7 GND and 4 for ?
Thinks -
RE: 💬 AC-DC double solid state relay module
Hi
Does somebody can post a picture of the back side please.
Thinks
-
RE: Humidity/Temp Sensor Issues
Problem with dht22 and ds18b20.
It looks likes a programmation beceause i just switch from arduino pro 3.3 to a 5.5 on my mys1.1 board and it works fine.
Or it s really a problem of manufacturing ... -
RE: Humidity/Temp Sensor Issues
I have a similar problem with a pack of 10 pro mini 3,3v bought at the ebay link from mysensor ?
But every think is ok with pro mini 5.5v ...
I tried many things but it still do not work ?
Other people with same problem ?
Ideas ?
Thinks -
RE: which controller for noobs ?
It sounds perfect !
I ever use noip for my ip camera.
What about vocal control from the android app ? -
RE: which controller for noobs ?
Thinks
I'll try it to begin.
But in fact i'm looking for controller with android extension to remote my home from anywhere.
Not just locally. -
which controller for noobs ?
Hi
Looking for the easiest controller to install run configure on a raspberry ?
What s your opinion ?
Thinks -
RE: My sensorboard MYS 1.0beta
Hi
I ve tried to order kit but i had an error message from paypal when i clicked on buy ,..
Does your paypal link correct ?
Thinks