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
J

jacikaas

@jacikaas
About
Posts
56
Topics
6
Shares
0
Groups
0
Followers
0
Following
1

Posts

Recent Best Controversial

  • Sniffing RS485 MODBUS data
    J jacikaas

    Hello,

    I have installed ventilation system in my apartment with this LCD acting like separate device:
    6d9528c4-4851-4edc-9976-ca6b2f21bc49-image.png

    It have 4 wires connected. After researching I found main board uses RS485 MODBUS:
    026e8213-51dc-41ec-915d-6939dc497f72-image.png

    I know there is Arduino RS485 modules, which probably could simulate signals to main board. But main problem is I don't know what messages there are. I tried to look for some suggestions on internet, but had no luck. Could some point me how to read this LCD messages to main board so I could simulate same messages over Arduino?

    Thanks!

    Development

  • Solenoid water valve
    J jacikaas

    Hello,

    I tried to search something on this forum, tried to ask in special stores with bathroom supplies, tried to google looks like i found something but nothing what I would like.

    Could someone recommend solenoid water valve for cold and hot water that i could install on my new apartment?

    I would like to have this feature: if water leak sensor is triggered, then it should close solenoid water valves. I found some of these on Aliexpress, but I better choose branded product like Danfoss or simillar.

    Maybe someone is confronted with it and could recommend something?

    Thank You!

    General Discussion

  • Curtain Control Node.
    J jacikaas

    @suresh-mali
    I now reading about that funktions in http://www.airspayce.com/mikem/arduino/AccelStepper/classAccelStepper.html#a344f58fef8cc34ac5aa75ba4b665d21c

    Did what You said, but getting error: no matching function for call to 'AccelStepper::runToPosition(int)'
    I paste here all code, but I think I did everything without mistakes:

    // Enable debug prints to serial monitor
    #define MY_DEBUG
    
    // Enable and select radio type attached
    #define MY_NODE_ID 10
    #define MY_RADIO_NRF24
    //#define MY_RADIO_RFM69
    
    // Enable repeater functionality for this node
    //#define MY_REPEATER_FEATURE
    
    #include <SPI.h>
    #include <MySensors.h>
    #include <AccelStepper.h>
    
    #define HALFSTEP 8
    #define CURTAIN_CLOSED 10000
    #define CURTAIN_OPEN 0
    #define CHILD_ID 1
    
    // int powerPin = 7;
    
    // definicje MySensors
    
    MyMessage message(CHILD_ID, S_COVER);
    
    // Definicja pinow silnika
    #define IN1  3     // IN1
    #define IN2  4     // IN2
    #define IN3  5     // IN3
    #define IN4  6     // IN4
     
    AccelStepper stepper1(HALFSTEP, IN1, IN3, IN2, IN4);
    
    void setup()
    {
      stepper1.setMaxSpeed(1000.0);
      stepper1.setAcceleration(100.0);
      stepper1.setSpeed(200);
      stepper1.runToPosition(CURTAIN_CLOSED);
    }
    
    void presentation() 
    {
      sendSketchInfo("Roller blinds", "1.0");
      present(CHILD_ID, S_COVER); // Window Cover sub-type, commands: V_UP, V_DOWN, V_STOP
    }
    
    void loop()
    {
      //stepper1.run();  //Start
    }
    
    void receive(const MyMessage &message)
    {
    stepper1.enableOutputs ();
      // if message = V_UP start moving until closed
      if (message.type==V_UP) {
         if (stepper1.distanceToGo() == 0){
             if (stepper1.currentPosition() == CURTAIN_OPEN){
                 stepper1.runToPosition(CURTAIN_CLOSED);
         // Store state in eeprom
         saveState(message.sensor, message.getBool());
         request(CHILD_ID, V_UP, 0); // request new values from controller
             }
          }
       }
       if (message.type==V_DOWN) {
           stepper1.moveTo(CURTAIN_OPEN);
           // Store state in eeprom
           saveState(message.sensor, message.getBool());
           request(CHILD_ID, V_DOWN, 0); // request new values from controller   
        }
        if (message.type==V_STOP) {
            stepper1.setCurrentPosition(0);
            // Store state in eeprom
            saveState(message.sensor, message.getBool());
            request(CHILD_ID, V_STOP, 0); // request new values from controller
        }
    stepper1.disableOutputs ();
    }
    
    
    My Project domoticz curtain control mysensors node

  • Curtain Control Node.
    J jacikaas

    @suresh-mali Thank You Suresh for Your answer!
    I disconnect relay and delete it lines from the code.

    I add lines to code like You said:

    void receive(const MyMessage &message)
    {
    stepper1.enableOutputs ();
     // rest of code
    stepper1.disableOutputs ();
    }
    

    It looks like it have to work because it is simple solution, but it doesn't... On driver board ULN2003, when motor is not rotating, A Led is always on. I think if command with disableOutputs would be activated, then the LED should not be on?

    My Project domoticz curtain control mysensors node

  • Curtain Control Node.
    J jacikaas

    Hello,

    I trying to adopt the code for 28BYJ-48 stepper motor with ULN2003 driver board for roller blinds control. Code is working, but when the stepper motor is always on - it gets hot. Because of it also its consumes more energy. So thats why I want to turn on ULN2003 board only when new action is started, and after that it should be shuted down again. I could do it, because ULN2003 has On/Off jumper:
    alt text

    Question #1: I trying to use relay for that On/Off. Could I do it without relay and control On/Off jumper directly from arduino? Does relay is the best solution?

    Question #2: I suck at programming, but I trying to add theese lines to my code to control the relay SIL05-1A72-71D, which controls the ULN2003 driver board:
    int powerPin = 7; //before SETUP
    pinMode(powerPin, OUTPUT); // In SETUP
    digitalWrite(powerPin, LOW); // In SETUP
    digitalWrite(powerPin, HIGH); // In void receive function
    delay(CURTAIN_CLOSED); // In void receive function
    digitalWrite(powerPin, LOW); // In void receive function

    digitalWrite(powerPin, HIGH); - I think is in right position, but I don't know how to turn off relay when action is done. Please advise for coding, because I not good in it. Thank You! Below is the code:

    // Enable debug prints to serial monitor
    #define MY_DEBUG
    
    // Enable and select radio type attached
    #define MY_NODE_ID 10
    #define MY_RADIO_NRF24
    //#define MY_RADIO_RFM69
    
    // Enable repeater functionality for this node
    //#define MY_REPEATER_FEATURE
    
    #include <SPI.h>
    #include <MySensors.h>
    #include <AccelStepper.h>      //import biblioteki AccelStepper 
    
    #define HALFSTEP 8
    #define CURTAIN_CLOSED 10000  // wartosc gdy kurtyna zamknieta
    #define CURTAIN_OPEN 0       // wartosc gdy kurtyna otwarta
    #define CHILD_ID 1
    
    int powerPin = 7;
    
    // definicje MySensors
    
    MyMessage message(CHILD_ID, S_COVER);
    
    // Definicja pinow silnika
    #define IN1  3     // IN1 - zielony
    #define IN2  4     // IN2 - czarny
    #define IN3  5     // IN3 - niebieski
    #define IN4  6     // IN4 - czerwony
     
    AccelStepper stepper1(HALFSTEP, IN1, IN3, IN2, IN4);
    
    void setup()
    {
      stepper1.setMaxSpeed(1000.0);
      stepper1.setAcceleration(100.0);
      stepper1.setSpeed(200);
      stepper1.moveTo(CURTAIN_OPEN);
      
      pinMode(powerPin, OUTPUT);
      digitalWrite(powerPin, LOW);
    }
    
    void presentation() 
    {
      // Wyslanie informacji o wersji programu
      sendSketchInfo("Roller blinds", "1.0");
      // Register all sensors to gw (they will be created as child devices)
      present(CHILD_ID, S_COVER); // Window Cover sub-type, commands: V_UP, V_DOWN, V_STOP
    }
    
    void loop()
    {
      stepper1.run();  //Start
    }
    
    void receive(const MyMessage &message)
    {
      // if message = V_UP start moving until closed
      if (message.type==V_UP) {
         digitalWrite(powerPin, HIGH);
         if (stepper1.distanceToGo() == 0){
             if (stepper1.currentPosition() == CURTAIN_OPEN){
                 stepper1.moveTo(CURTAIN_CLOSED);
         // Store state in eeprom
         saveState(message.sensor, message.getBool());
         request(CHILD_ID, V_UP, 0); // request new values from controller
             }
          }
       }
       if (message.type==V_DOWN) {
           digitalWrite(powerPin, HIGH);
           stepper1.moveTo(CURTAIN_OPEN);
           // Store state in eeprom
           saveState(message.sensor, message.getBool());
           request(CHILD_ID, V_DOWN, 0); // request new values from controller   
        }
        if (message.type==V_STOP) {
            digitalWrite(powerPin, HIGH);
            stepper1.setCurrentPosition(0);
            // Store state in eeprom
            saveState(message.sensor, message.getBool());
            request(CHILD_ID, V_STOP, 0); // request new values from controller
        }
     //   delay(CURTAIN_CLOSED);
     //   digitalWrite(powerPin, LOW);
    }
    
    
    My Project domoticz curtain control mysensors node

  • Recommendation for motorized roller blinds solution (actual motor, like somfy, rollertrol, ebay...)
    J jacikaas

    @nca78
    Yes, thats quite heavy. Need to check it practically. I started to test the motor (now only on the desk), but my 28BYJ-48 motor is shaking with AccelStepper library. With some simple code without included any library - working fine, so I will look why thats happening.

    Hardware

  • Recommendation for motorized roller blinds solution (actual motor, like somfy, rollertrol, ebay...)
    J jacikaas

    @Yveaux
    Yes, that outdoor blinds need a lot more power :)

    Hardware

  • Recommendation for motorized roller blinds solution (actual motor, like somfy, rollertrol, ebay...)
    J jacikaas

    Hello. I also thinking of my roller blinds automation and i was found this on thingiverse https://www.thingiverse.com/thing:2392856

    Its very cheap project for 5-10€/window. With 28BYJ-48 stepper motor you at least need 9v psu, it's even better with 12v.

    I also saw, that someone was already discusing in mysensors forum about how to start this motor and there is a code. Of course if you want to use percentage for open blinds, you should modify code and add some typen of encoder on mechanics. https://forum.mysensors.org/topic/3394/curtain-control-node/31

    Hardware

  • MYSBootloader 1.3.0-beta.3
    J jacikaas

    @jacikaas

    Hello, maybe someone was trying 8MHz bootloader for standlaone Atmega328p?

    Development

  • MYSBootloader 1.3.0-beta.3
    J jacikaas

    @tekka thank You for the answer. I'm not sure is answer was dedicated for me or for Mark, but I tested 1.3.0-beta.4 in the same way I described before:

    • Tested with 2 different Atmega328p
    • First try was with 1MHz - working on both Atmega328p
    • Second try with 8MHz - same situation as with beta 3, skecth won't upload and I get answer from Arduino Avrdude (this time I post full log after uploading):
    avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
             Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
             Copyright (c) 2007-2014 Joerg Wunsch
    
             System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
    
             Using Port                    : COM4
             Using Programmer              : arduino
             Overriding Baud Rate          : 38400
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xf1
    avrdude: stk500_recv(): programmer is not responding
    < ... >
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf1
    
    avrdude done.  Thank you.
    

    It would be best if someone also could try to burn same bootloader on standalone Atmega328p and post results to be sure all wiring and steps I did is without mistakes.
    Strange if I I burn 1.3pre2 8MHz bootloader - it works.

    What troubleshooting I could make?

    Development

  • MYSBootloader 1.3.0-beta.3
    J jacikaas

    Hello,

    Q1: Does anybody was able to succesfully use 8MHz MYSBootloader 1.3.0-beta.3 on standalone Atmega328p?

    All bootloaders I testing with Arduino BLINK example.
    Arduino 1.8.5

    I was testing 8MHz internal oscilator MYSBootloader 1.3.0-beta.3 with fuses on 2 different Atmega328p standalone but I can't upload sketch to it and test it. Arduino avrdude says that:
    avrdude: stk500_recv(): programmer is not responding
    avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x4a

    Used fuses:
    proMYSBL8.bootloader.low_fuses=0xE2
    proMYSBL8.bootloader.high_fuses=0xDA
    proMYSBL8.bootloader.extended_fuses=0x06 / 07
    proMYSBL8.bootloader.unlock_bits=0x3F
    proMYSBL8.bootloader.lock_bits=0x3F / 0F

    Before that, I was burned my Atmega328p with 1MHz internal oscilator MYSBootloader 1.3.0-beta.3 bootloader and it was working.

    Also I was testing 8MHz internal oscilator MYSBootloader 1.3pre2 with fuses on 2 different Atmega328p standalone and I can upload sketch to it and test it.
    Used fuses:
    proMYSBL8.bootloader.low_fuses=0xE2
    proMYSBL8.bootloader.high_fuses=0xDA
    proMYSBL8.bootloader.extended_fuses=0x06 / 07
    proMYSBL8.bootloader.unlock_bits=0x3F
    proMYSBL8.bootloader.lock_bits=0x3F / 0F

    Q2: I noticed that with 8MHz internal oscilator MYSBootloader 1.3pre2 LED blinks not continuosly it like (* led ON; - led OFF):
    *** --- *** --- *** --- ** - * - * - * - [cycle ends, then repeats again] *** --- *** --- *** --- ** - * - * - * - ...
    And this one cycle of *** --- *** --- *** --- ** - * - * - * - takes ~8 seconds. Could it be something with watchdog timer? I not very know about this setting.

    Thank You for help!

    Development

  • MYSBootloader 1.3.0-beta.3
    J jacikaas

    Hello,

    I have notice strange behavior with MYSBootloaderV13pre.hex 8MHz internal bootloader.

    Problem: When I burn MYSBootloaderV13pre.hex 8MHz internal bootloader to my Standalone Atmega328p i testing it with Arduino Blink and Fade sketches. Problem is that theese sketches doesn't work on this bootloader. LED is just always ON.

    I also tested the same sketches, same wiring, same Arduino Uno (5V when programming), same FTDI programmer (3.3V), same PC with Win 10 with same drivers, same Atmega328p with Nick Gammon Atmega Board Programmer when I burn Lilypad bootloader and then upload Blink and Fade sketches, they perfectly working.

    I tried same uploading with Arduino IDE 1.6.5 and also with the newest version 1.8.5.
    As a programmer I using Arduino as ISP. I theese tests when burning bootloader I don't connect external oscilator.

    With Nick Gammon software I also checked fuses for both Lilypad and MYSBootloader settings, becose i was thought it is becose of them. Once I configure wrong fuses and it had a lot of time to reset it to default value.
    Question: So now before changing fuses I want to ask maybe someone have been faced with similar problem?

    I paste below info about Lilipad and MYSBootloader 8MHz internal oscilator boards fuse settings:

    Lilypad bootloader
    
    Atmega fuse calculator.
    Written by Nick Gammon.
    Version 1.11
    Compiled on Nov 30 2017 at 17:36:58 with Arduino IDE 10805.
    Attempting to enter programming mode ...
    Entered programming mode OK.
    Signature = 0x1E 0x95 0x0F 
    Processor = ATmega328P
    Flash memory size = 32768
    LFuse = 0xE2 
    HFuse = 0xDA 
    EFuse = 0xFD 
    Lock byte = 0xEF 
    Clock calibration = 0x8E 
    External Reset Disable.................. [ ]
    Debug Wire Enable....................... [ ]
    Enable Serial (ICSP) Programming........ [X]
    Watchdog Timer Always On................ [ ]
    Preserve EEPROM through chip erase...... [ ]
    Boot into bootloader.................... [X]
    Divide clock by 8....................... [ ]
    Clock output............................ [ ]
    Bootloader size: 2048 bytes.
    Start-up time: SUT0: [X]  SUT1: [ ] (see datasheet)
    Clock source: calibrated internal oscillator.
    Brownout detection at: 2.7V.
    
    MYSBootloaderV13pre bootloader
    
    Atmega fuse calculator.
    Written by Nick Gammon.
    Version 1.11
    Compiled on Nov 30 2017 at 19:48:16 with Arduino IDE 10805.
    Attempting to enter programming mode ...
    Entered programming mode OK.
    Signature = 0x1E 0x95 0x0F 
    Processor = ATmega328P
    Flash memory size = 32768
    LFuse = 0xE2 
    HFuse = 0xD2 
    EFuse = 0xFE 
    Lock byte = 0xFF 
    Clock calibration = 0x8E 
    External Reset Disable.................. [ ]
    Debug Wire Enable....................... [ ]
    Enable Serial (ICSP) Programming........ [X]
    Watchdog Timer Always On................ [ ]
    Preserve EEPROM through chip erase...... [X]
    Boot into bootloader.................... [X]
    Divide clock by 8....................... [ ]
    Clock output............................ [ ]
    Bootloader size: 2048 bytes.
    Start-up time: SUT0: [X]  SUT1: [ ] (see datasheet)
    Clock source: calibrated internal oscillator.
    Brownout detection at: 1.8V.
    

    I appreciate any helpful info!

    EDIT: I think I already found that there is newer MYSBootloader files of development version which working without problems. I will test it if I write good fuses :)

    Development

  • mysgw: bind: Address already in use
    J jacikaas

    @mfalkvidd

    Thank You for the answer.

    @mfalkvidd said in mysgw: bind: Address already in use:

    As mentioned in the troubleshooting section, look in /var/log/syslog to see the gateway output of the existing instance. Don't start a new one.

    Ohh... Thats a lot more clear now... I thought command "sudo ./bin/mysgw -d" is not a service start, but just something like output mirror. Like "tail". Could I somehow use tail for watching real time output on ./bin/mysgw -d ?

    Also, it seems your sudo key has gotten stuck :( If you missed that not every command is preceeded by sudo in the build instructions, maybe it is worth considering that you missed something else?

    Sorry for dumb questions, but how I make that sudo key stuck? It's becose of that I start a few mysgw services?

    Another silly question, becose I'm very "advanced user" in UNIX, my best friend is called desktop there, and I know basically just install, nano, cp, rm commands, I need to ask :) Is there should be difference if I will use "make" instead of "sudo make". Sudo means that I run this command by root user, but does it make difference between "make" or "sudo make"? And if I remember clearly if I run only "make" - raspberry pi starts to swearing, but with sudo, it's ok.

    When I install the gateway by command "sudo make install" I can see that installing was successful, there is info that if I want to run this on boot I need to run two lines:

    • sudo systemctl enable mysgw.service
    • sudo systemctl start mysgw.service

    But now, I guess, I do not need them both, because start on boot is described in "sudo make install"?

    Troubleshooting

  • mysgw: bind: Address already in use
    J jacikaas

    Hello,
    I asking for help with same question. How I see there is no solution, so I try to explain step by step what I did and whats the problem I have.

    1. I install Domoticz on fresh Raspberry Pi Raspbian image

    2. Build a Raspberry Pi Ethernet Gateway by instructions (https://www.mysensors.org/build/raspberry)

      • git clone https://github.com/mysensors/MySensors.git --branch master
      • cd MySensors
      • sudo ./configure --my-transport=nrf24 --my-gateway=ethernet --my-port=5003
    3. After that comand I have answer, that my SoC and Type of machine unknown (I using RPi 2):

    [SECTION] Detecting target machine.
      [OK] machine detected: SoC=unknown, Type=unknown, CPU=armv7l.
    

    But I found the solution about that in forum, where I change two lines of the configure file to "BCM2835":

    function detect_machine {
    ...
        case $hardware in
    ...
        BCM2835)
            soc="BCM2835"
            if [[ $machine == "Raspberry"* ]]; then
                local rev=($(detect_rpi_revision))
                if [[ $rev == "a02082" || $rev == "a22082" ]]; then
                    tp="RPi3"
                else
                    tp="Rpi2"
                fi
            fi
            ;;
    ...
    

    After changing it , all looks fine.

    1. I repeat
      • sudo ./configure --my-transport=nrf24 --my-gateway=ethernet --my-port=5003

    My board is recognized so I continue with gateway building instructions...

    • sudo make
    • sudo ./bin/mysgw -h
    • sudo ./bin/mysgw -d

    And I got results with no errors, gateway is running. Continue with comands

    • sudo make install
    • sudo systemctl enable mysgw.service
    • sudo systemctl start mysgw.service

    No errors. I connect one LED strip node to Domoticz and its working perfectly.
    But after ~10 minutes trying to on/off LED strip it doesn't work anymore. Nothing was changed. Checking the gateway with command:

    • sudo ./bin/mysgw -d

    And getting:

    Sep 24 21:37:15 raspberrypi mysgw: accept: Bad file descriptor
    Sep 24 21:37:15 raspberrypi mysgw: accept: Bad file descriptor
    Sep 24 21:37:15 raspberrypi mysgw: accept: Bad file descriptor
    Sep 24 21:37:15 raspberrypi mysgw: accept: Bad file descriptor
    Sep 24 21:37:15 raspberrypi mysgw: accept: Bad file descriptor
    Sep 24 21:37:15 raspberrypi mysgw: accept: Bad file descriptor
    

    Output of "ps -ax" command:

      PID TTY      STAT   TIME COMMAND
        1 ?        Ss     0:02 /sbin/init splash
        2 ?        S      0:00 [kthreadd]
        3 ?        S      0:00 [ksoftirqd/0]
        5 ?        S<     0:00 [kworker/0:0H]
        6 ?        S      0:00 [kworker/u8:0]
        7 ?        S      0:01 [rcu_sched]
        8 ?        S      0:00 [rcu_bh]
        9 ?        S      0:00 [migration/0]
       10 ?        S<     0:00 [lru-add-drain]
       11 ?        S      0:00 [cpuhp/0]
       12 ?        S      0:00 [cpuhp/1]
       13 ?        S      0:00 [migration/1]
       14 ?        S      0:00 [ksoftirqd/1]
       16 ?        S<     0:00 [kworker/1:0H]
       17 ?        S      0:00 [cpuhp/2]
       18 ?        S      0:00 [migration/2]
       19 ?        S      0:00 [ksoftirqd/2]
       21 ?        S<     0:00 [kworker/2:0H]
       22 ?        S      0:00 [cpuhp/3]
       23 ?        S      0:00 [migration/3]
       24 ?        S      0:00 [ksoftirqd/3]
       26 ?        S<     0:00 [kworker/3:0H]
       27 ?        S      0:00 [kdevtmpfs]
       28 ?        S<     0:00 [netns]
       29 ?        S      0:00 [khungtaskd]
       30 ?        S      0:00 [oom_reaper]
       31 ?        S<     0:00 [writeback]
       32 ?        S      0:00 [kcompactd0]
       33 ?        S<     0:00 [crypto]
       34 ?        S<     0:00 [bioset]
       35 ?        S<     0:00 [kblockd]
       36 ?        S<     0:00 [watchdogd]
       37 ?        S      0:00 [kworker/0:1]
       38 ?        S<     0:00 [rpciod]
       39 ?        S<     0:00 [xprtiod]
       40 ?        S      0:00 [kswapd0]
       41 ?        S<     0:00 [vmstat]
       42 ?        S<     0:00 [nfsiod]
       52 ?        S<     0:00 [kthrotld]
       53 ?        S<     0:00 [bioset]
       54 ?        S<     0:00 [bioset]
       55 ?        S<     0:00 [bioset]
       56 ?        S<     0:00 [bioset]
       57 ?        S<     0:00 [bioset]
       58 ?        S<     0:00 [bioset]
       59 ?        S<     0:00 [bioset]
       60 ?        S<     0:00 [bioset]
       61 ?        S<     0:00 [bioset]
       62 ?        S<     0:00 [bioset]
       63 ?        S<     0:00 [bioset]
       64 ?        S<     0:00 [bioset]
       65 ?        S<     0:00 [bioset]
       66 ?        S<     0:00 [bioset]
       67 ?        S<     0:00 [bioset]
       68 ?        S<     0:00 [bioset]
       69 ?        S<     0:00 [bioset]
       70 ?        S<     0:00 [bioset]
       71 ?        S<     0:00 [bioset]
       72 ?        S<     0:00 [bioset]
       73 ?        S<     0:00 [bioset]
       74 ?        S<     0:00 [bioset]
       75 ?        S<     0:00 [bioset]
       76 ?        S<     0:00 [bioset]
       77 ?        S<     0:00 [iscsi_eh]
       78 ?        S<     0:00 [dwc_otg]
       80 ?        S<     0:00 [DWC Notificatio]
       81 ?        S<     0:00 [VCHIQ-0]
       82 ?        S<     0:00 [VCHIQr-0]
       83 ?        S<     0:00 [VCHIQs-0]
       84 ?        S      0:00 [VCHIQka-0]
       85 ?        S<     0:00 [SMIO]
       88 ?        S<     0:00 [bioset]
       89 ?        S      0:00 [mmcqd/0]
       90 ?        S      0:00 [jbd2/mmcblk0p2-]
       91 ?        S<     0:00 [ext4-rsv-conver]
       93 ?        S      0:00 [kworker/3:1]
       94 ?        S<     0:00 [ipv6_addrconf]
      109 ?        S<     0:00 [kworker/1:1H]
      110 ?        S      0:00 [kworker/u8:1]
      115 ?        Ss     0:11 /lib/systemd/systemd-journald
      144 ?        S      0:00 [kworker/1:3]
      150 ?        Ss     0:00 /lib/systemd/systemd-udevd
      200 ?        S      0:00 [spi0]
      238 ?        S      0:00 [kworker/3:2]
      266 ?        Ssl    0:00 /lib/systemd/systemd-timesyncd
      288 ?        Ss     0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
      291 ?        Ss     0:00 /usr/sbin/cron -f
      292 ?        Ssl    0:04 /usr/sbin/rsyslogd -n
      293 ?        Ss     0:00 avahi-daemon: running [raspberrypi.local]
      295 ?        Rs    80:53 /usr/local/bin/mysgw
      297 ?        Ss     0:00 /lib/systemd/systemd-logind
      299 ?        Ss     0:00 /usr/sbin/thd --triggers /etc/triggerhappy/triggers.d/ --socket /run/thd.socket --user nobody --deviceglob /dev/input/event*
      309 ?        S      0:00 avahi-daemon: chroot helper
      320 ?        S<     0:00 [cfg80211]
      324 ?        Ss     0:00 /sbin/dhcpcd -q -b
      359 ?        Ss     0:00 /usr/sbin/sshd -D
      378 ?        Ssl    0:00 /usr/sbin/lightdm
      381 ?        S<     0:00 [kworker/2:1H]
      390 tty1     Ss     0:00 /bin/login -f
      393 ?        Ss+    0:00 /sbin/agetty --keep-baud 115200,38400,9600 ttyAMA0 vt220
      400 tty7     Ssl+   0:03 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
      402 ?        Ssl    0:16 /home/pi/domoticz/domoticz -daemon -www 8080 -sslwww 443
      403 ?        S<     0:00 [kworker/3:1H]
      431 ?        Sl     0:00 lightdm --session-child 14 17
      439 ?        Ss     0:00 /lib/systemd/systemd --user
      442 ?        S      0:00 (sd-pam)
      447 ?        Ssl    0:00 /usr/bin/lxsession -s LXDE-pi -e LXDE
      456 ?        Ss     0:00 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation
      501 tty1     S+     0:00 -bash
      520 ?        Ss     0:00 /usr/bin/ssh-agent x-session-manager
      526 ?        Ssl    0:00 /usr/lib/gvfs/gvfsd
      531 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
      547 ?        S      0:01 openbox --config-file /home/pi/.config/openbox/lxde-pi-rc.xml
      549 ?        Sl     0:00 lxpolkit
      551 ?        Sl     0:12 lxpanel --profile LXDE-pi
      553 ?        Sl     0:01 pcmanfm --desktop --profile LXDE-pi
      561 ?        Ss     0:00 /usr/bin/ssh-agent -s
      570 ?        Ssl    0:00 /usr/lib/policykit-1/polkitd --no-debug
      585 ?        Ssl    0:00 /usr/lib/menu-cache/menu-cached /run/user/1000/menu-cached-:0
      589 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
      592 ?        Ssl    0:00 /usr/lib/udisks2/udisksd --no-debug
      603 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-goa-volume-monitor
      607 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
      611 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
      620 ?        Ssl    0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
      633 ?        Sl     0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.4 /org/gtk/gvfs/exec_spaw/0
      733 ?        S      0:00 sudo ./bin/mysgw -d
      737 ?        R     80:45 ./bin/mysgw -d
      751 ?        S<     0:00 [kworker/0:1H]
      760 ?        S      0:00 [kworker/0:0]
      761 ?        S      0:00 [kworker/1:1]
      766 ?        Ss     0:00 sshd: pi [priv]
      776 ?        R      0:01 sshd: pi@pts/1
      779 pts/1    Ss     0:00 -bash
      805 pts/1    T      0:00 sudo ./bin/mysgw -d
      809 pts/1    T      0:25 ./bin/mysgw -d
      850 ?        S      0:00 [kworker/2:1]
      857 ?        S      0:00 [kworker/2:0]
      862 pts/1    R+     0:00 ps -ax
    

    cat /sys/firmware/devicetree/base/model

    Raspberry Pi 2 Model B Rev 1.1
    

    Don't know how to fix that
    Sep 24 21:37:15 raspberrypi mysgw: accept: Bad file descriptor

    Looks like I using gateway building instructions step by step, but something is missing... Thanks.

    Troubleshooting

  • 💬 Building a Raspberry Pi Gateway
    J jacikaas

    @ccy

    Hello, I'm also have issue with this question. My Raspberry Pi 2 type is a01041, but by the original "configure" file it is not recognized:

    [SECTION] Detecting target machine.
      [OK] machine detected: SoC=unknown, Type=unknown, CPU=armv7l.
    

    Maybe someone could explain why it is not recognized?

    "Configure" file lines:

    function detect_machine {
    ...
        case $hardware in
    ...
        BCM2835)
            soc="BCM2835"
            if [[ $machine == "Raspberry"* ]]; then
                local rev=($(detect_rpi_revision))
                if [[ $rev == "a02082" || $rev == "a22082" ]]; then
                    tp="RPi3"
                else
                    tp="Rpi2"
                fi
            fi
            ;;
    ...
    
    My Raspberry Pi 2 info:
    processor       : 0
    model name      : ARMv7 Processor rev 5 (v7l)
    BogoMIPS        : 38.40
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xc07
    CPU revision    : 5
    
    processor       : 1
    model name      : ARMv7 Processor rev 5 (v7l)
    BogoMIPS        : 38.40
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xc07
    CPU revision    : 5
    
    processor       : 2
    model name      : ARMv7 Processor rev 5 (v7l)
    BogoMIPS        : 38.40
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xc07
    CPU revision    : 5
    
    processor       : 3
    model name      : ARMv7 Processor rev 5 (v7l)
    BogoMIPS        : 38.40
    Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant     : 0x0
    CPU part        : 0xc07
    CPU revision    : 5
    
    Hardware        : BCM2835
    Revision        : a01041
    Serial          : 0000000049a14619
    Announcements

  • Different Node ID for same node
    J jacikaas

    Hello,

    Does Node ID which I set on the node when I'm uploading code need to be same when it shows in Domoticz?

    MyController:
    0_1491041637857_upload-da348eef-39b4-462e-bd94-14723da9f607

    Domoticz LOG:

    2017-04-01 13:00:35.251 MySensors: Node: 21, Sketch Name: Plant moisture w bat
    2017-04-01 13:00:35.252 MySensors: Node: 21, Sketch Version: 1.5
    2017-04-01 13:00:36.253 (NRF RPi) Humidity (Hum)
    2017-04-01 13:00:36.256 (NRF RPi) General/Voltage (Voltage)
    

    Domoticz ID column:
    0_1491041818469_upload-9a546f39-4aa9-43d5-a6e6-691f37f3cb52

    Domoticz

  • MYSBootloader 1.3.0-beta.3
    J jacikaas

    Hi,

    Is there going to be 1 and 8MHz MySBootloader hex files? :)

    Thanks!

    Development

  • 💬 Building a Raspberry Pi Gateway
    J jacikaas

    Hello,

    Could someone answer: if i have RPi NRF24 GW, how I could connect MYSController from other computer (for example from Windows computer)?

    1. Is it possible to make that type connection with RPi NRF24 GW?
    2. May I use some integrated web server for this type of connection in RPi to make it work? Is there are easier solutions?

    EDIT: no matter, already answered it by myself :)
    Its easy becose it's like Ethernet GW.

    Announcements

  • Converting to 2.0 Slim Node as a Mini 2AA Battery PIR Motion Sensor code
    J jacikaas

    @Martin-Tellblom

    Hey, try like that:
    https://goo.gl/images/pQ9nTU

    Troubleshooting

  • ENC28J60 Ethernet gateway problem with Domoticz?
    J jacikaas

    Maybe someone have minds on my recent post here?

    Troubleshooting
  • Login

  • Don't have an account? Register

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