Hi,
I just stumbled on hackaday post about guy making voltage reference using AD584 and found on aliexpress boards using this chip. It's great for battery voltage calibration when making battery operated nodes.
siklosi
Posts
-
Voltage reference for battery calibration -
Replace Serial Gateway with Wifi (ESP8266) - DomoticzIll make backup and try that. Thanks.
-
Replace Serial Gateway with Wifi (ESP8266) - DomoticzHi,
I asked same question on domoticz forum without replay and maybe someone here knows the answer.
I already have quite a few MySensor nodes and serial gateway. My biggest problem is when I want to upgrade OTA some of the nodes. It can't be done from domoticz so I need to stop serial gateway and then start ser2net... I was thinking of building wifi gateway (that would be 15minutes project and I have all components) and I hope that would solve my problem. The thing that Im not sure is how to do and even if it's possible to transfer all nodes to new gateway without changing Idx's and all the scripts and events... -
Domoticz now supports the MySensors MQTT GatewayMy biggest "problem" with domoticz and Mysensors setup is upgrading nodes. Right now procedure Im using is stopping gw in domoticz, running ser2net on rpi. On my desktop i strat Myscontroller and connect via tcp/ip to rpi/ser2net. After upgrading node i stop ser2net and start gw in domoticz. Is it possible to upgrade node with mqtt? That would remove need to stop gw in domoticz.
-
CH340G okay for sensors?Mac OS X Sierra driver
Working also with Mac OS, but Sierra crashes and here is link for working driver -
Domoticz full integrationAre there any plans and is it possible at all to implement ota fw update through domoticz?
-
Nice/cheap shield for nano/24L01 -
AC IR code decryptingMaybe this will work
-
"Washing machine ended" sensorGreat Idea. Ill sure make one of these soon. But I think that I will add two start buttons (one for me and one for my girlfriend) and if one of the buttons is pressed as soon as washing machine is finished domoticz will send pushbullet notification to me or my girlfriend.
-
Power meterHi,
I just saw article on HackaDay about guy reverse engineering cheap power meter.http://hackaday.com/2016/07/11/put-a-reverse-engineered-power-meter-in-your-toolkit/
http://webx.dk/oz2cpu/energy-meter/energy-meter.htm
Here is the power meter on aliexpress
It looks interesting and adding MySensors to it would be great.
-
Wall Switches Solid State relay 1cm SquareThere is also AQY210EH it's only 130mA but it could be useful for some LED's. It's about 2usd for 10pcs on aliexpress and they say it's optocoupler but it's actually SSR.
-
MYSBootloader 1.3 pre-release & MYSController 1.0.0betaIs there a way to send ota firmware to node using some cli (python or...) script? I'm using MySensors with domoticz on RPi and when flashing new firmware I usually disconnect gw from rpi plug it into notebook and send fw using MYSController. If I could just disable gw in domoticz and send fw using some script it would be great until (if) domoticz gets support for ota fw.
-
one question ! about interference wave !I modified poor man's scanner script so that you can see all 127 channels..
http://forum.mysensors.org/topic/2454/node-cant-see-gateway-less-than-10m-away/11
-
Your tools :)OK Ill start :)

DSO Quad - Digital Osciloscope
TS100 - Soldering Iron
Bus Pirate - open source "hacker" multi-tool
Open Bench Logic Sniffer - open source logic analyzer -
Chinese Solar Lipo powered PIR led lamp.@gyro is there a reason you used high/low intensity with resistor instead of PWM?
-
S_MULTIMETER HelpIm also having problems with domoticz and negative values. Im reporting value and want to see increase or decrease. And negative values are represented as long int value -1 (I think).

-
RGB Servo spotThis is little project I made while ago but just now converted it to mysensors (used to be controlled via bluetooth)

#include <MySensor.h> #include <SPI.h> #include <Servo.h> #define RED_PIN 3 #define GREEN_PIN 5 #define BLUE_PIN 6 #define SERVO_H 7 #define SERVO_V 8 #define NODE_ID 5 #define SERVO_RGB 0 #define SKETCH_NAME "SERVO RGB" #define SKETCH_VERSION "1.0.0" #define NODE_REPEAT false #define FIRE_EFFECT 22 Servo myservo_h; Servo myservo_v; MySensor gw; long RGB_values[3] = {0, 0, 0}; float dimmer; //int r = 255; //int g = r - 80; //int b = 25; //int servh = 0; //int servv = 0; //MyMessage fireMsg(FIRE_EFFECT, V_LIGHT); void setup() { pinMode(RED_PIN, OUTPUT); pinMode(GREEN_PIN, OUTPUT); pinMode(BLUE_PIN, OUTPUT); pinMode(SERVO_H, OUTPUT); pinMode(SERVO_V, OUTPUT); gw.begin(incomingMessage, NODE_ID, NODE_REPEAT); gw.sendSketchInfo(SKETCH_NAME, SKETCH_VERSION); gw.present(SERVO_RGB, S_RGB_LIGHT, "Servo RGB", false); gw.present(SERVO_V, S_LIGHT, "Servo V", false); gw.present(SERVO_H, S_LIGHT, "Servo H", false); gw.request(SERVO_V, V_LIGHT); gw.request(SERVO_V, V_LIGHT); gw.request(SERVO_RGB, V_RGB); } void loop() { gw.process(); } void incomingMessage(const MyMessage &message) { if (message.type == V_RGB) { String hexstring = message.getString(); long number = (long) strtol( &hexstring[0], NULL, 16); RGB_values[0] = number >> 16; RGB_values[1] = number >> 8 & 0xFF; RGB_values[2] = number & 0xFF; } if (message.type == V_DIMMER) { if (message.sensor == SERVO_V) { myservo_v.attach(SERVO_V); myservo_v.write(map(message.getInt(), 0, 100, 72, 180)); gw.wait(1000); myservo_v.detach(); } if (message.sensor == SERVO_H) { myservo_h.attach(SERVO_H); myservo_h.write(map(message.getInt(), 0, 100, 0, 180)); gw.wait(1000); myservo_h.detach(); } if (message.sensor == SERVO_RGB) { dimmer = message.getInt(); analogWrite(RED_PIN, int(RGB_values[0] * (dimmer / 100))); analogWrite(GREEN_PIN, int(RGB_values[1] * (dimmer / 100))); analogWrite(BLUE_PIN, int(RGB_values[2] * (dimmer / 100))); } } if (message.type == V_LIGHT) { if (message.sensor == SERVO_RGB) { if (message.getInt() == 0) { digitalWrite(RED_PIN, 0); digitalWrite(GREEN_PIN, 0); digitalWrite(BLUE_PIN, 0); } if (message.getInt() == 1) { analogWrite(RED_PIN, int(RGB_values[0] * (dimmer / 100))); analogWrite(GREEN_PIN, int(RGB_values[1] * (dimmer / 100))); analogWrite(BLUE_PIN, int(RGB_values[2] * (dimmer / 100))); } } if (message.sensor == SERVO_H) { if (message.getInt() == 0) { myservo_h.attach(SERVO_H); myservo_h.write(0); gw.wait(1000); myservo_h.detach(); } if (message.getInt() == 1) { myservo_v.attach(SERVO_V); myservo_v.write(180); gw.wait(1000); myservo_v.detach(); } } if (message.sensor == SERVO_H) { if (message.getInt() == 0) { myservo_h.attach(SERVO_H); myservo_h.write(0); gw.wait(1000); myservo_h.detach(); } if (message.getInt() == 1) { myservo_v.attach(SERVO_V); myservo_v.write(180); gw.wait(1000); myservo_v.detach(); } } } } -
Send color data to sensors@davy39
I just made RGB controller for domoticz. So if it's not to late...#include <MySensor.h> #include <SPI.h> #define RED_PIN 3 #define GREEN_PIN 5 #define BLUE_PIN 6 #define NODE_ID 2 #define CHILD_ID 0 #define SKETCH_NAME "RGB_STRIP" #define SKETCH_VERSION "1.0.0" #define NODE_REPEAT false MySensor gw; long RGB_values[3] = {0, 0, 0}; float dimmer; void setup() { pinMode(RED_PIN, OUTPUT); pinMode(GREEN_PIN, OUTPUT); pinMode(BLUE_PIN, OUTPUT); gw.begin(incomingMessage, NODE_ID, NODE_REPEAT); gw.sendSketchInfo(SKETCH_NAME, SKETCH_VERSION); gw.present(CHILD_ID, S_RGB_LIGHT, "RGB Strip", false); gw.request(CHILD_ID, V_RGB); } void loop() { gw.process(); } void incomingMessage(const MyMessage &message) { if (message.type == V_RGB) { String hexstring = message.getString(); long number = (long) strtol( &hexstring[0], NULL, 16); RGB_values[0] = number >> 16; RGB_values[1] = number >> 8 & 0xFF; RGB_values[2] = number & 0xFF; } if (message.type == V_DIMMER) { dimmer = message.getInt(); analogWrite(RED_PIN, int(RGB_values[0] * (dimmer / 100))); analogWrite(GREEN_PIN, int(RGB_values[1] * (dimmer / 100))); analogWrite(BLUE_PIN, int(RGB_values[2] * (dimmer / 100))); } if (message.type == V_LIGHT) { if (message.getInt() == 0) { digitalWrite(RED_PIN, 0); digitalWrite(GREEN_PIN, 0); digitalWrite(BLUE_PIN, 0); } if (message.getInt() == 1) { analogWrite(RED_PIN, int(RGB_values[0] * (dimmer / 100))); analogWrite(GREEN_PIN, int(RGB_values[1] * (dimmer / 100))); analogWrite(BLUE_PIN, int(RGB_values[2] * (dimmer / 100))); } } } -
Raspberry Pi Zero $5https://www.raspberrypi.org/blog/raspberry-pi-zero
For this price Pi can now bi used as node :smiley:
-
Atypical use of MySensors library some questions...It's just an idea in developement/testing that will be presented if it work's as intended and reliable... Sensor for parking spot in parking garage with red/green led that shows if parking spot is free and also sends how many parking spots are free... Maybe some lcd tv that will show you when you are entering garage where are free spots...