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
hautomateH

hautomate

@hautomate
About
Posts
25
Topics
3
Shares
0
Groups
0
Followers
0
Following
2

Posts

Recent Best Controversial

  • Gateway Addon for Hass.io
    hautomateH hautomate

    @ghiglie Here's an add-on that uses a pi gpio pin. Maybe it will help.

    https://github.com/pantomax/hassio-addons/tree/master/rpi-rf-receiver

    It's discussed in this thread:
    https://community.home-assistant.io/t/rpi-rf-receiver-addon/32947

    Home Assistant

  • Gateway Addon for Hass.io
    hautomateH hautomate

    @ghiglie said in Gateway Addon for Hass.io:

    git-noob mistake! updated!

    Haha! I forgot to tell you that I have no idea what I'm doing :)

    The 'run chmod' command is still missing in the dockerfile.

    Home Assistant

  • Gateway Addon for Hass.io
    hautomateH hautomate

    @ghiglie It shows the last commit as 14 days ago...

    Home Assistant

  • gateway on hass.io - not getting the sensors
    hautomateH hautomate

    @giorgio-gilestro said in gateway on hass.io - not getting the sensors:

    Not sure how to intercept the serial log from the gateway, though. I've used socat for this purpose in the past but I doubt I can do from within a hassio instance.

    I think you can see that if you SSH to the host.

    https://home-assistant.io/developers/hassio/debugging/

    Development

  • gateway on hass.io - not getting the sensors
    hautomateH hautomate

    @giorgio-gilestro

    Have a look at this thread. Maybe the latest release will show some logging for you?

    https://community.home-assistant.io/t/mysensors-mqtt-gateway-integration/39743/3

    Development

  • Gateway Addon for Hass.io
    hautomateH hautomate

    @ghiglie hmm, not sure. Would you please update your repo with the latest and I'll try a reinstall and have a closer look?

    Home Assistant

  • Gateway Addon for Hass.io
    hautomateH hautomate

    Add...

    "host_network": true,

    and for port 5003, what about this?

    "ports": {
    "5003/tcp": 5003
    },

    Or put the port as an option so it could be configured by the user. I'm not sure what else would be needed for this to work.

    "options": {
    "port": 5003,

    Home Assistant

  • Gateway Addon for Hass.io
    hautomateH hautomate

    Try setting permissions on run.sh.

    RUN chmod a+x /run.sh
    
    CMD [ "/run.sh" ]
    
    Home Assistant

  • Gateway Addon for Hass.io
    hautomateH hautomate

    Is this the error you're taking about?

    [services.d] starting services
    [services.d] done.
    ifelse: fatal: unable to exec /run.sh: Permission denied
    [cmd] /run.sh exited 111
    [cont-finish.d] executing container finish scripts...
    [cont-finish.d] 99-message.sh: executing... 
    -----------------------------------------------------------
                    Oops! Something went wrong.
     
     We are so sorry, but something went terribly wrong when
     starting or running this add-on.
     
     Be sure to check the log above, line by line, for hints.
    -----------------------------------------------------------
    [cont-finish.d] 99-message.sh: exited 0.
    [cont-finish.d] done.
    
    Home Assistant

  • Gateway Addon for Hass.io
    hautomateH hautomate

    @ghiglie I presume you've seen this. Tried them all?

    Privilege for access to hardware/system. Available access: NET_ADMIN, SYS_ADMIN, SYS_RAWIO, SYS_TIME, SYS_NICE

    Home Assistant

  • Clean looking sensor node
    hautomateH hautomate

    @Nca78

    Yeah, I hear ya...

    I'm thinking indoor use here and not using the solar panel or circuitry for anything--just use the plastic and lens and pack it with PIR and temp/humidity. Mounted up high on a wall, any holes could be drilled on the top as that side wouldn't be seen.

    I'm going to try one out...

    Enclosures / 3D Printing

  • Clean looking sensor node
    hautomateH hautomate

    These chargers are looking really good... Great job on this!

    Has anyone used these garden lights? They look like they'd be ready to go as a PIR/multi-sensor considering there's already a AA holder and plenty of room under the lens. Maybe they could be tucked up by the ceiling. It wouldn't quite be flush because of the sloping top, but it may not be bad.

    Searching around I see at least two different variations--one has a smoother, cleaner look to the lens and the other looks more "knobby." Some come with a battery and some do not.

    A bunch of lights

    With battery

    Without battery

    alt text
    alt text

    Enclosures / 3D Printing

  • error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
    hautomateH hautomate

    Ah yes... Thanks, folks!

    I got my sketches mixed up and was using a 1.5 version.

    Development

  • error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
    hautomateH hautomate

    I'm running the development branch and am getting the following when uploading a sketch:

    Arduino: 1.6.4 (Mac OS X), Board: "Arduino Nano, ATmega328"
    
    In file included from motion.ino:30:0:
    /Users/..../Documents/Arduino3dev/libraries/MySensors/MySensor.h:285:4: error: #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
       #error No forward link or gateway feature activated. This means nowhere to send messages! Pretty pointless.
        ^
    motion:38: error: 'MySensor' does not name a type
    motion.ino: In function 'void setup()':
    motion:44: error: 'gw' was not declared in this scope
    motion.ino: In function 'void loop()':
    motion:61: error: 'gw' was not declared in this scope
    'MySensor' does not name a type
    

    Where can I find some documentation on configuring sensors running the v2 beta release?

    Thanks

    Development

  • W5100 gateway not connecting to network
    hautomateH hautomate

    I was originally using a Vilros UNO and a "MEGA compatible" W5100 shield. I switched to a Vilros shield and got "avrdude: stk500_recv (): programmer is not responding" errors when trying to upload.

    I then tried a Sunfounder UNO + "MEGA compatible" shield and bingo, problem solved!

    DHCP is getting an address, but not the one I set in a static lease on my router, but that's okay. At least I can move forward!

    In my troubleshooting I ran across this post that describes a fix on the HanRun boards that involves jumping two 100 ohm resistors between RJ45 pins 1-2 and 3-6. I didn't have any 100 ohm resistors on hand so I didn't try it...

    https://forum.arduino.cc/index.php?topic=351477.msg2662072#msg2662072

    Troubleshooting

  • W5100 gateway not connecting to network
    hautomateH hautomate

    I just tried the dev release to be able to use DHCP and define a static lease on my router, but that doesn't get me connected either.

    With an IP defined in GatewayW5100.ino I get a response showing an IP of 0.0.0.0:

    #define MY_IP_ADDRESS 10,10,10,231   // If this is disabled, DHCP is used to retrieve address
    // Renewal period if using DHCP
    //#define MY_IP_RENEWAL_INTERVAL 60000
    // The port to keep open on node server mode / or port to contact in client mode
    #define MY_PORT 5003     
    
    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0-beta)
    0;255;3;0;9;Radio init successful.
    IP: 0.0.0.0
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0
    

    With the IP not defined, I get no IP info, similar to the results with the 1.5 release:

    //#define MY_IP_ADDRESS 10,10,10,231   // If this is disabled, DHCP is used to retrieve address
    // Renewal period if using DHCP
    #define MY_IP_RENEWAL_INTERVAL 60000
    // The port to keep open on node server mode / or port to contact in client mode
    #define MY_PORT 5003   
    
    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0-beta)
    0;255;3;0;9;Radio init successful.
    

    I'd be happy with either option working. Any ideas on what to try next?

    Thanks

    Troubleshooting

  • W5100 gateway not connecting to network
    hautomateH hautomate

    Howdy,

    I'm trying to set up a new ethernet gateway with the W5100 shield and cannot get on my network. The compile works and the serial monitor shows the following:

    0;0;3;0;9;gateway started, id=0, parent=0, distance=0
    

    Here's the setup function from EthernetGateway.ino. After perusing the forum and reading about various network-related issues, it looks like gw.begin is missing a key piece. No?

    void setup()  
    { 
      Ethernet.begin(mac, myIp);
    
     // give the Ethernet interface a second to initialize
      delay(1000);
      
      setupGateway(INCLUSION_MODE_PIN, INCLUSION_MODE_TIME, output);
    
      // Add interrupt for inclusion button to pin
      PCintPort::attachInterrupt(pinInclusion, startInclusionInterrupt, RISING);
    
       // Initialize gateway at maximum PA level, channel 70 and callback for write operations 
      gw.begin(incomingMessage, 0, true, 0);
      
      // start listening for clients
      server.begin();
    }
    

    Thanks

    Troubleshooting

  • Website corrections
    hautomateH hautomate

    I read through the site again starting with the "Tell me more!" button on the front page (I love this site!) and see a good number of misspellings and spots with missing words. Should I post corrections here, send them directly to someone, or keep them to myself? ;)

    General Discussion

  • Sensebender Micro
    hautomateH hautomate

    @hek, thanks for the correction. I didn't try very hard, but here's 75 ready to ship.

    Announcements

  • Sensebender Micro
    hautomateH hautomate

    @jerry said:

    184 units are produced. ..for we can only find 184 Si7021-A20-GM1 all over the world.

    Mouser has 3,091 in stock for immediate shipment, though probably not at a price you're interested in ;)

    Announcements
  • Login

  • Don't have an account? Register

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