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
D

dzairo

@dzairo
About
Posts
136
Topics
28
Shares
0
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

  • RFM69HW radio speed
    D dzairo

    thanks.
    but in MyConfig.h is this setting disabled :

    //#define MY_RFM69_MODEM_CONFIGURATION (RFM69_FSK_BR55_5_FD50)
    

    then I need enable it .. or leave because this is default modem setting after power up ?
    and need enable only if want select another configuration ??

    General Discussion

  • RFM69HW radio speed
    D dzairo

    Hi All .
    Where I can set radio speed for RFM69HW module ??
    I use Atmega328p as MCU and RFM69HW module , I want set radio speed around 3,6kbps .
    Is it possible ??

    and output power for RFM69HW set to maximum +20dBm

    where I set this parameter??

    thanks.

    General Discussion

  • OrangePi Zero
    D dzairo

    ehm.. sorry .. not read older post.. but may be..

    MyNodes.NET

  • OrangePi Zero
    D dzairo

    Hi.
    I install node-red from https://diyprojects.io/install-node-red-orange-pi-running-armbian/#.WdDmSb3TMQW
    work.
    if try install MyNodes.NET then in step :+1: git clone git://github.com/aspnet/home.git
    sh ~/sources/aspnet5/home/dnvminstall.sh
    is problem.. dnvminstall.sh not found..
    is there any functional instalation for rpi or other ??
    I have problem with instalation ASP.NET 5
    any idea??

    MyNodes.NET

  • OrangePi Zero
    D dzairo

    Hi.
    I try install alpackage from this web : http://piboards.com/2017/01/04/easy-set-up-orange-pi/
    and I will be see .. there is Node-red instalation..

    regards.

    MyNodes.NET

  • OrangePi Zero
    D dzairo

    Hi all .
    Today I install Debian in to my OrangePi Zero.
    Is possible istall MyNodes.NET to my Orange Pi Zero?
    I test MyNodes.NET with windows 7 and serial gateway and work good .
    Now I want put it all to OrangePi ZERO ..
    is possible to help with it ??

    regards.

    MyNodes.NET

  • Send directly and to gateway
    D dzairo

    Hi.
    I make project to control Relay Node with switch node directly and not used gateway.
    I use this code

      MyMessage response (message.getByte(),V_LIGHT) ;
      response.setDestination(1); //
      gw.send(response); 
    

    in this I set then switch node send data directly to relay node with ID 1

    but if want send battery level or temperature to gateway, not to relay, then just set destination to 0 or need something else ?? other setting or code ..

    and question for route .. if send data from node to node and distance is too long and I use repeater then also working or not ??

    I thing so not ..

    regards.

    General Discussion

  • Reboot Node
    D dzairo

    Hi.
    If good understand then Watchdog is used for low powre timer , when use .sleep function then use this timer for max 8s .
    But I need reboot Node . Then how can I do that ?
    I use BCD encoder for manuany set Node ID . If want chagne ID then powr Off battery and change position on BCD encoder .. and Powr On and Node set new ID .
    But I want do it in my loop function .. if change BCD encoder then in loop I compare BCD ID with Node ID if not equal then
    I want reboot node .

    but how to do it if watch dog is used for timer not reset ??

    how use funtion gw.reboot(); ???

    regards ..

    General Discussion reboot node id watchdog

  • Maximum for .sleep
    D dzairo

    oh it's really long ..
    thanks.

    General Discussion sleep

  • Maximum for .sleep
    D dzairo

    Hi.
    What is maximum for sleep function .. is possible to set every hour ?? or more ?? for example every 4 hour ??

    regards.

    General Discussion sleep

  • Ethernet Gateway
    D dzairo

    Hi .
    Here is my example .. working with my code for Relay board 32 relay by I2C IO expander.

    #include <MySensor.h>
    #include <SPI.h>
    
    // Define version 
    #define VSN "v1.0"
    // Define Name 
    #define NAME "Test"
    // Define Sensor - button
    #define BLU 1 // Button Left Up
    #define BLD 2 // Button Left Down
    #define BRU 3 // Button Right Up
    #define BRD 4 // Button Right Down
    
    
    // Sensor objects
    MySensor gw;
    void setup() {
    //  eeprom_write_byte((uint8_t*)EEPROM_NODE_ID_ADDRESS, (byte)255);
      gw.begin(incomingMessage,AUTO);    // Node ID auto  .. if not used gateway , Node ID must define manualy 
      gw.sendSketchInfo( NAME, VSN ); // Name and version 
      gw.present(BLU, S_LIGHT);   
      gw.present(BLD, S_LIGHT);
      gw.present(BRU, S_LIGHT);
      gw.present(BRD, S_LIGHT);
    }
    
    void loop() 
    {
      gw.process();
    }
    
    void incomingMessage(const MyMessage &message) {
     if (message.type == V_LIGHT) {
      MyMessage response (message.getByte(),V_LIGHT) ; //  message.getByte() = payload define what relay want change state
      response.setDestination(1); // My Relay Board 
      gw.send(response);
     }
    }```
    General Discussion ethernet gateway

  • 32 I2C Relay
    D dzairo

    Hi all.
    I make small project to controll 32 relay by I2C expander PCF8574 .
    In my project are V_LIGHT for relay control and V_TEMP to define if want save relay state to eeprom memory or not .
    if S_TEMP is 0 then after reset, all relay are close and clear eeprom memory for relay state , if S_TEMP is 1 then relay state are read from memory .. and save state to memory if change state of relay .

    V_LIGHT not define if relay is open or close .. only change state from 1 to 0 , and 0 to 1 .
    It's to control light in my house ..
    0_1461943989896_RelayI2C.zip

    PS: tested in Arduino Nano (china clone CH340 with micro USB ) , nrf24L01+ (PCB antenna) with 1x PFC8574
    PPS: Node ID is manualy set to 58 if need change to AUTO

    regards.

    My Project relay i2c pcf8574

  • Ethernet Gateway
    D dzairo

    yes. I know .. I try understand this .. but .. more help me .. if have Tx node and Rx node..
    I manualy set node ID .. I want make 16 Tx node with 4 button , and Rx node with 32 relays ..

    Rx node ID 1 and Tx node will be 2,3,4,.. 17 ..
    is possible help with it ..???

    regards..

    General Discussion ethernet gateway

  • Ethernet Gateway
    D dzairo

    Hi.
    I have question about Gateway .
    I want automatic resend incomming packet from predefined node to other predefined node .
    How is it possible ?
    I want resend packet from binary input node to relay .. I don't want use any controller ..
    only gateway - serial or ethernet.

    how to do it ?

    Or how to send data from one node to other directly ?? don't need gateway .. is it possible .. any small example ..
    send data from bininput node to relay ..

    regards.

    General Discussion ethernet gateway

  • More sensor in One chart
    D dzairo

    and I'm forgot .. where I can find complete documentation for all component and how to use it ..
    make more presentation videos .. but not in fast mode .. not easy to learn from your video..

    regards.

    MyNodes.NET

  • More sensor in One chart
    D dzairo

    Hi.
    Your MyNodes have big potential.
    Will be good if possible to show in chart more sensors . For example temperature in different color .. Loging also is good but better will be if to log write Node and sensor too, not only date time and state .. then is possible to loging all what need in one to database.. this I preffer.. .
    And specialy specific function .. invent solution for automatic connection create ..
    If have Relay node (for example 16 or 32 relay) and button node ..
    if push button then make connection with predefined relay node.. , ..

    PS: if is possible make example video how to install MyNodes to RPi .
    best regards.

    MyNodes.NET

  • Re-assign ID
    D dzairo
     [2016-04-27 20:55:10.973 Info] INFO	*** Logging START ***
     [2016-04-27 20:55:10.974 Info] VERSION	MYSController 0.1.2.282
     [2016-04-27 20:55:33.569 Info] NODE	New node discovered, node id=2
     [2016-04-27 20:55:33.570 Info] CHILD	New child discovered, node id=2, child id=internal
     [2016-04-27 20:55:33.570 Info] DEBUG	Assigned firmware=Blink to node=2
     [2016-04-27 20:55:33.571 Info] INFO	BL version=257
     [2016-04-27 20:55:33.572 Info] INFO	Send FW info to node 2: type=A, version=1, blocks=0x02C8, CRC=0xB718
     [2016-04-27 20:55:33.573 Info] TX	2;0;4;0;1;0A000100C80218B7
     [2016-04-27 20:55:33.574 Info] RX	2;255;4;0;0;0A000100C80218B70101
     [2016-04-27 20:55:33.655 Info] SIGNING	Node 2 does not require signing
     [2016-04-27 20:55:33.656 Info] SIGNING	MYSController is not signing
     [2016-04-27 20:55:33.656 Info] TX	2;255;3;0;15;0
     [2016-04-27 20:55:33.658 Info] RX	2;255;3;0;15;0
     [2016-04-27 20:55:33.658 Info] DEBUG	Update child id=255, type=ARDUINO_NODE
     [2016-04-27 20:55:33.659 Info] RX	2;255;0;0;17;1.5.4
     [2016-04-27 20:55:33.662 Info] TX	2;255;3;0;6;M
     [2016-04-27 20:55:33.663 Info] RX	2;255;3;0;6;0
     [2016-04-27 20:55:35.671 Info] RX	2;255;3;0;11;Bin.Sensor Sleep
     [2016-04-27 20:55:35.674 Info] RX	2;255;3;0;12;1.0
     [2016-04-27 20:55:35.676 Info] CHILD	New child discovered, node id=2, child id=3
     [2016-04-27 20:55:35.677 Info] DEBUG	Update child id=3, type=DOOR
     [2016-04-27 20:55:35.678 Info] RX	2;3;0;0;0;
     [2016-04-27 20:55:35.679 Info] CHILD	New child discovered, node id=2, child id=4
     [2016-04-27 20:55:35.679 Info] DEBUG	Update child id=4, type=DOOR
     [2016-04-27 20:55:35.681 Info] RX	2;4;0;0;0;
     [2016-04-27 20:55:35.722 Info] RX	2;3;1;0;16;1
     [2016-04-27 20:55:35.745 Info] RX	2;255;3;0;0;79
     [2016-04-27 20:55:40.876 Info] RX	2;4;1;0;16;0
     [2016-04-27 20:55:41.375 Info] RX	2;4;1;0;16;1
     [2016-04-27 20:55:42.819 Info] RX	2;3;1;0;16;0
     [2016-04-27 20:55:43.461 Info] RX	2;3;1;0;16;1
     [2016-04-27 20:55:54.189 Info] TX	2;0;3;0;13;0
     [2016-04-27 20:56:13.510 Info] REPO	FW "Blink" loaded. t=10, v=1, blocks=712, crc=0xB718
     [2016-04-27 20:56:13.523 Info] REPO	FW "TimeReporter" loaded. t=20, v=1, blocks=840, crc=0x4AC5
     [2016-04-27 20:56:13.542 Info] REPO	FW "Sensebender Micro" loaded. t=100, v=1, blocks=1344, crc=0x3482
     [2016-04-27 20:56:13.552 Info] REPO	FW "Sensebender Blink" loaded. t=110, v=1, blocks=768, crc=0x1314
     [2016-04-27 20:56:13.552 Info] REPO	FW repository loaded. Items=4
     [2016-04-27 20:56:17.551 Info] TX	2;0;3;0;13;0
     [2016-04-27 20:57:00.075 Info] CHILD	New child discovered, node id=2, child id=3
     [2016-04-27 20:57:00.076 Info] RX	2;3;1;0;16;0
     [2016-04-27 20:57:00.439 Info] RX	2;3;1;0;16;1
     [2016-04-27 20:57:02.092 Info] CHILD	New child discovered, node id=2, child id=4
     [2016-04-27 20:57:02.094 Info] RX	2;4;1;0;16;0
     [2016-04-27 20:57:02.363 Info] RX	2;4;1;0;16;1
    
    General Discussion myscontroller reassign id

  • Re-assign ID
    D dzairo

    Hi.
    I try find in this formum solution why not possible manualy reassign new id to my node.
    I use Ethernet Gateway with MYSController 0.1.2.282 .
    I can Assign new firmware from list .. work perfect .. but if try change - reassign new ID then still use same ..
    In sketch is :

    gw.begin(incomingMessage, AUTO, true);
    

    this define auto .. then not problem to reassign .. I think ..
    If try it manualy also not working .. if try .. clear eeprom ...and must automatic reassign .. still use same ID ..

    regards.

    General Discussion myscontroller reassign id

  • Help with ACK ..
    D dzairo

    Hi all.
    Long time ago use 1.4 version of MySensors and make small sketch that every time send packet to gateway and wait for ACK . if ACK received then generate short beep , if not received then generate 2x long beep .
    All working ..

    but now return back to my project and use 1.5 version of MySensors and compile program with latest version of MySensors .. and have problem to receiving ACK ..

    then is there any sketch for latest version MySensors what do same think like my previouse code???

    I have two node : 1. old firmware (all work )
    2. new one and still beep so ACK not received ..

    what is change between 1.4 and 1.5 ???

    regards..

    Hardware ack

  • More sensor in One chart
    D dzairo

    Hi.
    Is possible to show more sensors in one Chart ?
    I have many switches and want log this switch to chart .. which and when is button pressed .. but not stand alone , in one chart.. is it possible ??

    regards.

    MyNodes.NET
  • Login

  • Don't have an account? Register

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