Navigation

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

    Jic

    @Jic

    0
    Reputation
    24
    Posts
    582
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Jic Follow

    Best posts made by Jic

    This user hasn't posted anything yet.

    Latest posts made by Jic

    • RE: OpenHAB 2.5 MySensors Serial Gateway - How to install

      Seem it's working know.

      Thanks

      posted in OpenHAB
      Jic
      Jic
    • RE: OpenHAB 2.5 MySensors Serial Gateway - How to install

      @flipflap3

      I still have problem with with org.openhab.binding.mysensors-2.2.0-SNAPSHOT.jar and org.openhab.binding.mysensors-2.3.0-SNAPSHOT.jar
      I get always de Mysensors Serial Gateway offline with this error

      2018-03-01 21:36:47.880 [DEBUG] [col.serial.MySensorsSerialConnection] - Connecting to /dev/ttyMySensorsGateway [baudRate:115200]
      2018-03-01 21:36:47.890 [ERROR] [col.serial.MySensorsSerialConnection] - No such port: /dev/ttyMySensorsGateway
      gnu.io.NoSuchPortException: null
      	at gnu.io.CommPortIdentifier.getPortIdentifier(CommPortIdentifier.java:273) [25:com.neuronrobotics.nrjavaserial:3.12.0.OH]
      	at org.openhab.binding.mysensors.internal.protocol.serial.MySensorsSerialConnection.establishConnection(MySensorsSerialConnection.java:51) [195:org.openhab.binding.mysensors:2.3.0.201802141500]
      	at org.openhab.binding.mysensors.internal.protocol.MySensorsAbstractConnection.connect(MySensorsAbstractConnection.java:148) [195:org.openhab.binding.mysensors:2.3.0.201802141500]
      	at org.openhab.binding.mysensors.internal.protocol.MySensorsAbstractConnection.run(MySensorsAbstractConnection.java:127) [195:org.openhab.binding.mysensors:2.3.0.201802141500]
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
      	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:?]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:?]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:?]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:?]
      	at java.lang.Thread.run(Thread.java:745) [?:?]
      
      

      I back to org.openhab.binding.mysensors-2.1.0-SNAPSHOT.jar and now it's working again. Any ideas?

      Thanks

      posted in OpenHAB
      Jic
      Jic
    • RE: Video How To: Battery Powered Chair Occupancy (Contact) Sensor

      @sundberg84

      Yes, I have removed both

      posted in My Project
      Jic
      Jic
    • RE: Video How To: Battery Powered Chair Occupancy (Contact) Sensor

      That doesn't work to me! 😞 I am using an arduino clone. I don't Know if that is the problem.

      When I use your sketch (an others from Mysensors) my Arduino usage is 30mA, seems like the sleep method doesn't work rigth.

      I test with a liltle example from rocketscream/Low-Power and then my Arduino usage is 16uA. Anyone know where the problem may be?

      Thanks

      posted in My Project
      Jic
      Jic
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      @pentti12

      This message is, following the information

      https://www.mysensors.org/download/serial_api_20

      node-id ; child-sensor-id ; message-type ; ack ; sub-type ; payload \n
      0; ;0 ;3 ;0 ;2 ;

      A message-type=3 means an internal message of the protocol
      Sub-type=2 means that it is ascking for the gateway version.

      You can find here how to disable it using skipStartupCheck=true
      https://github.com/tobof/openhab2-addons/wiki/Configuration

      Bridge mysensors:bridge-eth:gateway [ ipAddress="127.0.0.1", tcpPort=5003, sendDelay=200, skipStartupCheck=true ] {
           /** define things connected to that bridge here */
        }
      

      I hope this help you.

      posted in OpenHAB
      Jic
      Jic
    • RE: 💬 Door, Window and Push-button Sensor

      @Meshx86

      I have the same problem, when I use the bounce library to read my reed switch I always read "1". If I use digitalRead I get an bounce error.
      I have an arduino compatible, configure it for 1Mhz, 1M resistor for the reed switch and 2 AA battery.
      Someone has a similar one working?

      posted in Announcements
      Jic
      Jic
    • RE: openHAB 2.0 binding

      @TimO

      Thanks. I don't know why is it sending a I_DISCOVER_RESPONSE message. Any Idea?

      posted in OpenHAB
      Jic
      Jic
    • RE: openHAB 2.0 binding

      @TimO ok, I have discovered that my "tail" command doesn't work rigth, sorry

      My logs are

      2016-12-01 23:02:53.990 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;22;100788
      2016-12-01 23:07:05.190 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;21;0
      2016-12-01 23:17:05.248 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;21;0
      2016-12-01 23:27:05.326 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;21;0
      2016-12-01 23:37:05.409 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;21;0
      2016-12-01 23:47:05.486 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;21;0
      2016-12-01 23:57:05.562 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;21;0
      2016-12-02 00:07:05.639 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;21;0
      

      I don't understand why am I reciving this message?

      posted in OpenHAB
      Jic
      Jic
    • RE: openHAB 2.0 binding

      @TimO right now, I have only one Door sensor.
      my logs are

      2016-12-01 23:02:43.047 [DEBUG] [col.serial.MySensorsSerialConnection] - Bridge is connected, connection skipped
      2016-12-01 23:02:53.049 [DEBUG] [col.serial.MySensorsSerialConnection] - Bridge is connected, connection skipped
      2016-12-01 23:02:53.909 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;1;1;0;16;1
      2016-12-01 23:02:53.923 [DEBUG] [ternal.handler.MySensorsThingHandler] - Setting last update for node 10 to 2016-12-01T23:02:53.913+0100
      2016-12-01 23:02:53.990 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;22;100788
      2016-12-01 23:03:03.051 [DEBUG] [col.serial.MySensorsSerialConnection] - Bridge is connected, connection skipped
      2016-12-01 23:03:13.053 [DEBUG] [col.serial.MySensorsSerialConnection] - Bridge is connected, connection skipped
      2016-12-01 23:07:03.111 [DEBUG] [col.serial.MySensorsSerialConnection] - Bridge is connected, connection skipped
      2016-12-01 23:07:05.190 [DEBUG] [rs.internal.protocol.MySensorsReader] - 10;255;3;0;21;0
      2016-12-01 23:07:05.203 [DEBUG] [ternal.handler.MySensorsThingHandler] - Setting last update for node 10 to 2016-12-01T23:07:05.193+0100
      
      ==> events.log <==
      2016-12-01 23:07:05.229 [ItemStateChangedEvent     ] - mysensors_door_gateway_Door_10_1_lastupdate changed from 2016-12-01T23:02:53.913+0100 to 2016-12-01T23:07:05.193+0100
      2016-12-01 23:07:05.264 [ItemStateChangedEvent     ] - Cancela01time changed from 2016-12-01T23:02:53.913+0100 to 2016-12-01T23:07:05.193+0100
      

      You can see last event is at 23:07, however in the following snapshot the time is 11:17

      0_1480631760477_Selección_004.png

      No more events, but the lastupdate change

      posted in OpenHAB
      Jic
      Jic
    • RE: MySensors Ethernet Gateway goes to OFFLINE state

      @pentti12

      Ok, sorry, I think I was wrong.
      Here has a similar example
      http://www.makeuseof.com/tag/diy-smart-home-sensors-arduino-mysensors-openhab/
      Could you try connecting it again separately, and configure in your OH2 and ethernet binding with the ip from your gatweay?

      posted in OpenHAB
      Jic
      Jic