Skip to content
  • 0 Votes
    7 Posts
    2k Views
    mfalkviddM
    @billgoolsby the gateway could probably be called event-driven but that's not why there is no need for additional code. The concepts are described in the getting started guide, which starts at https://www.mysensors.org/about
  • 0 Votes
    11 Posts
    6k Views
    cdrumC
    @brettzky84 said: Im using the serial gateway on u17 and have it working fine. i have the same problem as you when my vera is rebooted or powered off, but found 2 solutions. 1 with the vera on disconnect then reconnect the serial gateway. wait 10seconds refresh the dashboard page. Then go to app/ developer apps/ serial connection. Reset your baud rate to 115200??... Thansk. I ended up upgrading to the latst UI7 beta. My gateway is now working!!! Let's see how stable it is. ;-) (UI7 has fixed some of my other issue too)
  • 0 Votes
    5 Posts
    8k Views
    R
    Managed to find out a solution by myself. removed the three #define NO_PORTx_PINCHANGES removed the #include <PinChangeInt.h> changed PCintPort::attachInterrupt(pinInclusion, startInclusionInterrupt, RISING); to attachInterrupt(1, startInclusionInterrupt, RISING); Now I am able to use the Seeedstudip GPRS shield pins 7 and 8 with SoftwareSerial.
  • 0 Votes
    16 Posts
    17k Views
    G
    @catcher Thanks, I tried this Perl script and it is working out of the box with OpenHAB2! And I'm sending with MySensors 2.
  • 0 Votes
    9 Posts
    6k Views
    D
    One last thing I'd like to clarify after re-reading my previous post. The correct send string I entered in the terminal is without trailing ";" - like it was supposed before. As mentioned, the problem has been the BAUD rate of 156k with 8MHz crystal.. So the correct command which will change the PWM -Dimmer level on node 3 to 50% is: 3;0;1;0;3;50\n
  • Graphing sensor data

    My Project serialgateway graph pogoplug
    4
    2 Votes
    4 Posts
    4k Views
    P
    No, youre right, that wouldnt work for battery powered. I chop the ends off old cell phone chargers and try to keep a room's sensors down to a single box. The only one I've considered being battery powered is the "Mailbox opened" one but thats another project. The polling is really just to allow getting realtime data when you want it. If I think about it more, Ill probably leave it out. I was just thinking out loud near the end.
  • 0 Votes
    2 Posts
    2k Views
    RJ_MakeR
    @dzairo Can't help you with the project as it's way over my pay grade, but it sounds interesting. Good Luck!
  • 0 Votes
    8 Posts
    4k Views
    D
    Hi. It's long time .. but standard function is : gw.processRadioMessage(); and I make changes in source code in MyGateway.cpp to this : char MyGateway::processRadioMessage() { char isMessage=0; if (process()) { // A new message was received from one of the sensors isMessage=1; MyMessage message = getLastMessage(); if (mGetCommand(message) == C_PRESENTATION && inclusionMode) { rxBlink(3); } else { rxBlink(1); } // Pass along the message from sensors to serial line serial(message); } checkButtonTriggeredInclusion(); checkInclusionFinished(); return isMessage; } But in new library is not file MyGateway.cpp .. then I don't now .. using is : if (gw.processRadioMessage()==1) {..} regards.. there is possible make easy gateway .. controler .. to control only light for example.. then we don't need external controller .. etc..
  • Serial terminal

    Controllers serialgateway serial protocol
    10
    3 Votes
    10 Posts
    5k Views
    A
    Hi dzairo, Just wondering if you still monitor this thread. If so would love to know how to install the ComPort component so I can modify and use your terminal code. For some reason I don't have any luck with adding it to the IDE. thanks, Andy.
  • my serial gateway

    Hardware serialgateway
    1
    2 Votes
    1 Posts
    1k Views
    No one has replied
  • help to manual sed sensor ID ..

    Development serialgateway serial protocol
    14
    0 Votes
    14 Posts
    9k Views
    D
    Hi all... This is important for all ... Hek I find problem with manual node ID setting .. Your code is optimized for ATmega328P 16Mhz - 115200 serial speed .. and here is problem ... big problem !! 16MHz -115200 is in normal speed : 3.549% ERROR , and in double speed : 2.124% ERROR with no calibrated 8Mhz internal RC oscilator is normal speed : 8.507% ERROR and in double speed : 3.549% then in fact .. no problem to send data from MCU to PC .. problem send data from PC to MCU .. solution : for sensor node or repeater .. we don't need received data from UART .. then can use 115200 with internal RC oscilator .. for serial gateway is need to send and received data from to MCU with controller .. then use scrystal 16Mhz (as orginal code ) or use better crystall : 7.3728Mhz , 11.0592Mhz , 14.7456Mhz ... with this crystall is ERROR 0% ... or use lower speed for serial gateway for example 38400bps ... sorry for all .. but I'm not thinking about it .. and problem was all time in hardware .. interesting is that if generate own bootloader for my node then first time I set 115200 bps speed and my software show error more then 8.5% ERROR ..and I must change speed to 38400 ... now it's working .. if node send request for new ID then I send it regards.
  • Serial protocol..

    Development serialgateway serial protocol
    6
    0 Votes
    6 Posts
    3k Views
    D
    Hi. I do it .. change configuration in MyCOnfig.h (disable debug) and now gateway not send encoded message . But right now I test my serial board and have problem .. If send fast many packet from my sensor (INT0 and INT1) then serial gateway halt .. and no more data received from sensor and output string to uart .. I must reset MCU and all work again.. what is problem ?? Problem is in serial gateway .. after reset all work good .. any idea?? regards.
  • My "hybrid" gateway

    My Project w5100 serialgateway dhcp pcb ethernetgateway
    9
    3 Votes
    9 Posts
    7k Views
    AnticimexA
    Original post is now updated (look at the bottom of it). (ping @bjornhallberg)
  • 1.4 SerialGateway freezes

    Bug Reports serialgateway
    19
    0 Votes
    19 Posts
    5k Views
    hekH
    @Yveaux Ohh.. nice digging anyway.
  • PiDome Domotica/Home Automation

    PiDome controller serialgateway raspberry mqtt pidome
    199
    0 Votes
    199 Posts
    111k Views
    B
    Hi John, appLog.txt I also tried using datatype string but it doesen't work. Meanwhile I have studies the log files more detailed and found the following behavior: when defining the device skeletal and when updating the derived device (first approx. 25 lines in the log file V_STATUS is declared as string with values 51 resp. 52 as specified in the web interface. The entity is "Modul 433 MHz". Later on, when using the toggle switch in the web interface the value has changed in the decription in the log file (see line 164 or 185) value has been changed to on/off. With this definition it seem that the mysensors-Plugin is feeded has been changed from the specified values. My conclusion is that the change is taking place somewhere outside the mysensors-plugin. By the way, if I change the type to string do I have to use quotation marks in the web interface? Thanks a lot for your support. Martin
  • Freedomotic

    Freedomotic automation serialgateway controller
    72
    1 Votes
    72 Posts
    42k Views
    freedomoticF
    Hi all we are working on a new web client for our domotic framework. Here some screenshots [image: fd5.png?part=0.7&view=1&vt=ANaJVrEZGlBm56DRoEIytzEGrrMV0OXO3g99sjFBL8H9PoX9OP1OTIpbN6zJxtvaSCc8xSddjrnLNPl-4vH3bEz6B0Js-VZx4mOBPuaRJ3QoSLwA5EPYlPI] [image: fd_mobile2.png?part=0.2&view=1&vt=ANaJVrEUs3ydycP8me4baRK56FRppkkthGMq4FG-tycTWT93WKq3oF3GKzHbkDY7AIKFpBVoGa1Z6wt2JLMGtJrWqUA6QACZh3BXx8FwSJ5V9XeM3VoBYPg] [image: fd_4.png?part=0.6&view=1&vt=ANaJVrFb4sDmn_knAqbVFc0xgc6SRm_gsyHRpPctZ6-qqRla8sduX3DwO1qM98efhTFT_zAtfxnFL_nTJASRNbC_NpKMg0ayZoMkUq9nijhJ9vq56PECvLs] It's a WIP so we need any help to complete it. The code is available at https://github.com/freedomotic/fd-vue-webapp/
  • 0 Votes
    14 Posts
    6k Views
    warawaraW
    I'm aware of the superiority of 1.4. Because I just started with building my custom controller I will go with the development branch for now. I really like the new protocol so far. I'm using very basic arduino sketches at the moment. The only thing I'm worried about is my custom controller that I'm building in Node-Red. Hopefully the feature changes will not have to much impact on that part.

18

Online

11.7k

Users

11.2k

Topics

113.1k

Posts