Navigation

    • Register
    • Login
    • Search
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. miro
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    miro

    @miro

    2
    Reputation
    39
    Posts
    558
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    miro Follow

    Best posts made by miro

    • RE: 💬 RFID Lock Sensor

      It was just that easy as a broken radio. Thank you for your help to get me think in other ways 🙂

      posted in Announcements
      miro
      miro
    • RE: Vera - Can't create GW device with UI7 files

      @korttoma said:

      "Can´t Detect Device"

      This was fixed for me when I changed all three CommFailure.

      CommFailure = 0
      CommFailureTime = 0
      CommFailureAlarm= 0

      Thanks a lot!

      posted in Troubleshooting
      miro
      miro

    Latest posts made by miro

    • RE: "Choose the Serial Port" error with MySensors and RFXtrx433?

      @Aron-Sjöberg

      Have you restart luup after you connected both usb-ports?

      posted in Vera
      miro
      miro
    • RE: "Choose the Serial Port" error with MySensors and RFXtrx433?

      I bought this one: https://www.kjell.com/se/sortiment/dator-natverk/datortillbehor/usb-tillbehor/usb-hubbar/plexgear-usb-hubb-7-vags-med-stromforsorjning-p68616

      Now all is working fine for me.

      posted in Vera
      miro
      miro
    • RE: 💬 Motion Sensor

      Does anyone know why my sensor only reacts when I move my hand just in front of it. From a distance it does not work. Has tested with different HC-SR501 PIR and adjusted also and various radio but all gave the same result.

      /**
       * The MySensors Arduino library handles the wireless radio link and protocol
       * between your home built sensors/actuators and HA controller of choice.
       * The sensors forms a self healing radio network with optional repeaters. Each
       * repeater and gateway builds a routing tables in EEPROM which keeps track of the
       * network topology allowing messages to be routed to nodes.
       *
       * Created by Henrik Ekblad <henrik.ekblad@mysensors.org>
       * Copyright (C) 2013-2015 Sensnology AB
       * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors
       *
       * Documentation: http://www.mysensors.org
       * Support Forum: http://forum.mysensors.org
       *
       * This program is free software; you can redistribute it and/or
       * modify it under the terms of the GNU General Public License
       * version 2 as published by the Free Software Foundation.
       *
       *******************************
       *
       * REVISION HISTORY
       * Version 1.0 - Henrik Ekblad
       * 
       * DESCRIPTION
       * Motion Sensor example using HC-SR501 
       * http://www.mysensors.org/build/motion
       *
       */
      
      // Enable debug prints
      // #define MY_DEBUG
      
      // Enable and select radio type attached
      #define MY_RADIO_NRF24
      //#define MY_RADIO_RFM69
      
      #include <SPI.h>
      #include <MySensors.h>
      
      unsigned long SLEEP_TIME = 120000; // Sleep time between reports (in milliseconds)
      #define DIGITAL_INPUT_SENSOR 3   // The digital input you attached your motion sensor.  (Only 2 and 3 generates interrupt!)
      #define CHILD_ID 1   // Id of the sensor child
      
      // Initialize motion message
      MyMessage msg(CHILD_ID, V_TRIPPED);
      
      void setup()  
      {  
        pinMode(DIGITAL_INPUT_SENSOR, INPUT);      // sets the motion sensor digital pin as input
      }
      
      void presentation()  {
        // Send the sketch version information to the gateway and Controller
        sendSketchInfo("Motion Sensor", "1.0");
      
        // Register all sensors to gw (they will be created as child devices)
        present(CHILD_ID, S_MOTION);
      }
      
      void loop()     
      {     
        // Read digital motion value
        boolean tripped = digitalRead(DIGITAL_INPUT_SENSOR) == HIGH; 
              
        Serial.println(tripped);
        send(msg.set(tripped?"1":"0"));  // Send tripped value to gw 
      
        // Sleep until interrupt comes in on motion sensor. Send update every two minute.
        sleep(digitalPinToInterrupt(DIGITAL_INPUT_SENSOR), CHANGE, SLEEP_TIME);
      }
      
      
      posted in Announcements
      miro
      miro
    • RE: "Choose the Serial Port" error with MySensors and RFXtrx433?

      @Magnus

      Do you have this one?

      https://www.kjell.com/se/sortiment/dator-natverk/datortillbehor/usb-tillbehor/usb-hubbar/plexgear-usb-hubb-4-vags-med-stromforsorjning-p68296

      I don`t have a second hub to try with so I need to buy a new one...

      posted in Vera
      miro
      miro
    • RE: "Choose the Serial Port" error with MySensors and RFXtrx433?

      I borrow this thread...

      When I plug in my (mysensor Gateway) direct into vera edge it works perfect.
      When I plug in my (RFXtrx) direct into vera edge it works perfect.

      When I connect them to my usb hub that I bought, no one of them will work?

      Mysensors GW are not changing when I click on start and stop for inclusion mode.
      RFXtrx are not sending commands to the lamps. I click on one lamp that is off, and nothing happends.

      It is a 4-ports 3.0 USB hub with separate power suply, brand new.

      Could someone help me?

      posted in Vera
      miro
      miro
    • RE: 💬 RFID Lock Sensor

      Has anyone got this http://www.ebay.com/itm/271316626820?rmvSB=true to work with NFC and Android phone?

      posted in Announcements
      miro
      miro
    • RE: 💬 RFID Lock Sensor

      It was just that easy as a broken radio. Thank you for your help to get me think in other ways 🙂

      posted in Announcements
      miro
      miro
    • RE: 💬 RFID Lock Sensor

      @mfalkvidd I`m using nano as serial GW. I didn´t have any trouble with GW for a long time now.

      0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
      0;255;3;0;9;TSM:INIT
      0;255;3;0;9;TSM:RADIO:OK
      0;255;3;0;9;TSM:GW MODE
      0;255;3;0;9;TSM:READY
      0;255;3;0;14;Gateway startup complete.
      0;255;0;0;18;2.0.0
      0;255;3;0;9;No registration required
      0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
      

      Should I install some XML in my vera edge to get this sensor to work?
      If I read the guide for this I will take it as GW has nothing to do with RFID until I have set the key code for the tags in the scetch and after that I implement the sensor to my vera?

      posted in Announcements
      miro
      miro
    • RE: 💬 RFID Lock Sensor

      @mfalkvidd

      I have followed the guide here (https://www.mysensors.org/build/rfid) to the letter. Yes, it could be me that have problems but this isn´t so hard project. Feels like something is missing?

      In the description it says:

      "To find out the unique ID of your tag just run the example while looking at serial monitor. Hold tag in front of reader and your identifier should pop up."

      This I did, but the monitor don`t show anything, just this

      Starting sensor (RNNNA-, 2.0.0)
      TSM:INIT
      TSM:RADIO:OK
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      TSM:FPAR
      TSP:MSG:SEND 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
      !TSM:FPAR:FAIL
      !TSM:FAILURE
      TSM:PDT
      

      ... And yes, I have switched the little pin to I2C on my PN532 RFID reader.

      posted in Announcements
      miro
      miro
    • RE: 💬 RFID Lock Sensor

      I think this needs an update... The declaration is not complete for all users I think!

      posted in Announcements
      miro
      miro