Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
siklosiS

siklosi

@siklosi
About
Posts
31
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Voltage reference for battery calibration
    siklosiS siklosi

    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.

    https://www.aliexpress.com/item/AD584-4-Channel-2-5V-5V-7-5V-10V-High-Precision-Voltage-Reference-Module/32701559692.html

    General Discussion

  • Replace Serial Gateway with Wifi (ESP8266) - Domoticz
    siklosiS siklosi

    Ill make backup and try that. Thanks.

    Domoticz

  • Replace Serial Gateway with Wifi (ESP8266) - Domoticz
    siklosiS siklosi

    Hi,
    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

  • Domoticz now supports the MySensors MQTT Gateway
    siklosiS siklosi

    My 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.

    Domoticz

  • CH340G okay for sensors?
    siklosiS siklosi

    Mac OS X Sierra driver
    Working also with Mac OS, but Sierra crashes and here is link for working driver

    Hardware

  • Domoticz full integration
    siklosiS siklosi

    Are there any plans and is it possible at all to implement ota fw update through domoticz?

    Feature Requests

  • Nice/cheap shield for nano/24L01
    siklosiS siklosi

    Just saw this board...

    http://www.ebay.com/itm/NANO-Prototype-Shield-NANO-IO-Expansion-Board-with-XBee-24L01-Interface-/311668101335

    Hardware

  • AC IR code decrypting
    siklosiS siklosi

    Maybe this will work
    0_1469012872255_upload-7ea967fd-ad75-4816-b5fa-90a88126d92f

    Development

  • "Washing machine ended" sensor
    siklosiS siklosi

    Great 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.

    My Project

  • Power meter
    siklosiS siklosi

    Hi,
    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

    http://www.aliexpress.com/item/LCD-4IN1-display-Voltage-current-active-power-energy-meter-blue-backlight-panel-voltmeter-ammeter-kwh-0/32611189341.html

    It looks interesting and adding MySensors to it would be great.

    Hardware

  • Wall Switches Solid State relay 1cm Square
    siklosiS siklosi

    There 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.

    http://www.aliexpress.com/item/10pcs-lot-AQY210EH-AQY210-SOP-optocouplers-original-authentic/32646947425.html

    http://eu.mouser.com/ProductDetail/Panasonic-Industrial-Devices/AQY210EH/?qs=mTeSeKeuVA5j1EBp6Jh75A%3D%3D

    Hardware

  • MYSBootloader 1.3 pre-release & MYSController 1.0.0beta
    siklosiS siklosi

    Is 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.

    Development ota myscontroller mysbootloader

  • one question ! about interference wave !
    siklosiS siklosi

    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

    Vera

  • Your tools :)
    siklosiS siklosi

    OK Ill start :)
    0_1459966034594_toys.png

    DSO Quad - Digital Osciloscope
    TS100 - Soldering Iron
    Bus Pirate - open source "hacker" multi-tool
    Open Bench Logic Sniffer - open source logic analyzer

    General Discussion

  • Chinese Solar Lipo powered PIR led lamp.
    siklosiS siklosi

    @gyro is there a reason you used high/low intensity with resistor instead of PWM?

    My Project

  • S_MULTIMETER Help
    siklosiS siklosi

    Im 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).

    0_1457599894477_domnegative.PNG

    Troubleshooting

  • RGB Servo spot
    siklosiS siklosi

    This is little project I made while ago but just now converted it to mysensors (used to be controlled via bluetooth)
    2_1454273523371_image1 (4).JPG 1_1454273523371_image2.PNG 0_1454273523370_image3 (1).JPG

    
    #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();
          }
        }
      }
    }
    
    
    My Project

  • Send color data to sensors
    siklosiS siklosi

    @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)));
        }
      }
    }
    
    
    PiDome controller color

  • Raspberry Pi Zero $5
    siklosiS siklosi

    https://www.raspberrypi.org/blog/raspberry-pi-zero

    For this price Pi can now bi used as node :smiley:

    General Discussion

  • Atypical use of MySensors library some questions...
    siklosiS siklosi

    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...

    Development
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular