Navigation

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

    Posts made by ErrK

    • New version

      Hi,
      We need to rewrite the app because the Athom team have added a new SDK.
      Is there any node.js developer that can help me with the app?
      I dont have the time right now to do everything by my own.

      posted in Homey
      ErrK
      ErrK
    • RE: I have some issues with the controls of OnOff, dim, light_saturation, light_temperature and light_mode

      Hi,
      Thanks for writing about the issue.
      I will look in to why you can't see the sensor if it is a light_hue, light_saturation, light_temperature and light_mode. Will report here when I know why it is not visible.

      The issue you have with label in the mobile app is nothing i can do.
      It is a issue you need to report to homey.
      In the app you can't control where the labels or anything else is in the mobilecard..

      It took a few month before the homey team added function so you could change the label of a capability. So i think they have missed this function in the mobile app.

      posted in Homey
      ErrK
      ErrK
    • v0.2.0

      Hi,
      I have just sent an request to Athom to update the app to version 0.2.0.
      There is a lot of changed.
      Becouse there is still no update function for devices in Homey you need to remove all your devices (sensors) and then re-add them.
      You insights will be lost so make a backup for it before you make the update.
      This is becouse i have change in the back-end so we now have one device card for each node instead of one device card for each sensor.

      If you got some problems with the update, tell me and i will look in to it.

      posted in Homey
      ErrK
      ErrK
    • RE: MP1584EN DC DC3A Eagle component

      @GertSanders
      Thanks a lot!

      posted in Hardware
      ErrK
      ErrK
    • RE: MP1584EN DC DC3A Eagle component

      @GertSanders Thanks, that would be very nice.

      posted in Hardware
      ErrK
      ErrK
    • RE: MP1584EN DC DC3A Eagle component

      Thanks @scalz
      I hoped to avoid create my own 🙂

      posted in Hardware
      ErrK
      ErrK
    • MP1584EN DC DC3A Eagle component

      Hi,

      I am trying to create my first PCB in Eagle.
      But i need to add this component in it but can't find any library that contains it.

      Power Module Adjustable MP1584EN DC DC3A Power Step-down Descending Output Module 12 v9v5v3 LM2596 24 v

      Dose anyone have a library for this?

      Thanks.

      posted in Hardware
      ErrK
      ErrK
    • RE: No new devices where found

      Thanks @evad,
      I will look in to it.

      I use the example sketch for my ESP8266 gateway.
      Have only change the MY_ESP8266_SSID and MY_ESP8266_PASSWORD.
      https://github.com/mysensors/MySensors/blob/master/examples/GatewayESP8266/GatewayESP8266.ino

      posted in Homey
      ErrK
      ErrK
    • RE: No new devices where found

      @Arjan-van-den-Eijnden ,

      Strange that it is working after installing it through the CLI.
      But good it's working now 🙂

      I will look in to it to find out if there is a bug in the app.

      posted in Homey
      ErrK
      ErrK
    • RE: No new devices where found

      @Arjan-van-den-Eijnden, @evad
      Witch version of Homey and the app do you use?

      I know that someone got the same problem in the beginning, but after reboot the gateway and sensors it started to pop up in Homey.
      Have you tried it?

      I will post my sketch for my ESP8266 WIFI gateway when i get home.

      posted in Homey
      ErrK
      ErrK
    • v0.1.7

      The Athom team have made a lots of changes on the firmware 0.10.0 without telling anyone about it.
      So I needed to change a few things to make the app work again.

      posted in Homey
      ErrK
      ErrK
    • RE: Icon help

      @hek: Thanks, I will look at it.

      posted in Announcements
      ErrK
      ErrK
    • RE: Icon help

      How did this go?

      I'm currently looking for icons to use in the Homey app.

      posted in Announcements
      ErrK
      ErrK
    • v 0.1.5 is published

      Since Homey don't support update of a device yet, you need to remove and then re-add your devices when update the app.

      New features:

      • Added a custom capabilities (currently this capabilities is not added to the Insights log)

        • "Custom": You can send what ever you want, like a text
        • "Custom number": Parse the value in to a number with 2 decimals
        • "Custom boolean": If value is 0 then false, or else it's true
      • Support MySensors 2.0.0

      posted in Homey
      ErrK
      ErrK
    • RE: MySensors 2.0.0 Released

      This is great news!
      Thank you for all the work.

      posted in Announcements
      ErrK
      ErrK
    • RE: Homey + mySensors

      Thanks,
      @hek Ok. I will fix it and send you an email.

      posted in Homey
      ErrK
      ErrK
    • RE: Homey + mySensors

      Now is the app in the App store for Homey.
      https://apps.athom.com/app/org.mysensors.homey

      @hek: You can post it on the plugin news.

      posted in Homey
      ErrK
      ErrK
    • RE: MYSBootloader 1.3 pre-release & MYSController 1.0.0beta

      @tekka Thanks. It's working when i move them further away.

      posted in Development
      ErrK
      ErrK
    • RE: MYSBootloader 1.3 pre-release & MYSController 1.0.0beta

      Hi,
      I have just started to update all my nodes to 2.0.0 dev.
      Started to update my serial gateway then update MYSController to 1.0.0beta and use the bootloader MYSBootloaderV13pre.hex
      First i could't burn the bootloader to my Arduino Pro Mini 5v, needed to changed the values in board.txt:
      From this:

      proMYSBL16.bootloader.low_fuses=0xFF
      proMYSBL16.bootloader.high_fuses=0xD2
      proMYSBL16.bootloader.lock_bits=0x3F
      

      To this:

      proMYSBL16.bootloader.low_fuses=0xF7
      proMYSBL16.bootloader.high_fuses=0xDA
      proMYSBL16.bootloader.lock_bits=0x0F
      

      It took about 50min to use OTA to upload a simple sketch for a humidity sensor with MYSController.
      I have the gateway and the sensor very close (about 10cm from each other).

      posted in Development
      ErrK
      ErrK
    • RE: Homey + mySensors

      @hek Thanks. I will look in to it.
      There are a few functions that is missing before i will call it to the first beta.

      posted in Homey
      ErrK
      ErrK
    • RE: Homey + mySensors

      You can find the code in my github https://github.com/ewikner/org.mysensors.homey

      Is it possible to send a command to a node to get the sensors presentation again?
      A few sensors is only sending the SET command and i need to get the sensor type to know what type of data it is.

      posted in Homey
      ErrK
      ErrK
    • RE: Homey + mySensors

      Thanks @hek

      posted in Homey
      ErrK
      ErrK
    • RE: Homey + mySensors

      Thanks @mfalkvidd and @hek

      Don't know what dimensions the icon it needs to be a .svg file
      Then loggos need to have this dimenstions:
      500px × 500px, 500px × 350px, 250px × 175px and 75px × 75px

      posted in Homey
      ErrK
      ErrK
    • RE: Homey + mySensors

      Hi,
      I'm started to develop an app for Homey.
      The app for Homey require an icon and some loggos, is there any loggos for mysnsors that i can use?

      I have just started so i'm in the beginning of development.
      My goal is that it will support both ethernet and mqtt gateway.

      posted in Homey
      ErrK
      ErrK
    • RE: Motion Sensor triggering on its own

      Thanks @Jan-Gatzke it did not work for me this time.

      I'm using a 5v Arduino Pro mini and when i measure the power on the HC-SR501 i get 3.71v.
      When i measure the power on the VCC i get 3.69v and when i measure the RAW i get 5.43v.

      Here you can se how everything is wired, I use the Easy/Newbie PCB by @sundberg84.
      1_1457118103690_IMG_6345 copy.jpg
      0_1457118103689_IMG_6346 copy.jpg

      First i used the 5v cable to the raw on the PCB and then it did't work.
      When I change to connect to the PWR then it works. Don't know why. Maybe @sundberg84 know why?

      posted in Troubleshooting
      ErrK
      ErrK
    • RE: Motion Sensor triggering on its own

      @Maciej-Kulawik Thanks.

      Today my second node started to do this too.
      I have tried to change the HC-SR501 and the problem seams to be on the node and not on the sensor.
      Can i see how you fixed this in the sketch?

      posted in Troubleshooting
      ErrK
      ErrK
    • RE: Motion Sensor triggering on its own

      @sundberg84 thanks. I will try it.

      posted in Troubleshooting
      ErrK
      ErrK
    • RE: Motion Sensor triggering on its own

      I have just find out the same problem with one of my nodes that have a HC-SR501 motion sensor.
      It is a Arduino 5v with the same sketch as 3 other nodes.

      It updates every second and i have it right now in a closed box so it shuld not trigger any motion.
      I have tried to clearEEPROM and tried again, but i get the same result.

      What can i do?

      posted in Troubleshooting
      ErrK
      ErrK
    • Serial Gateway on a Arduino Pro Mini

      Hi.

      I have created a Serial Gateway on a Arduino Pro mini 5v with the default sketch for a Serial Gateway.
      It's connected to my computer with a FTDI USB to TTL Serial Adapter.

      The only problem i got was to get the FTDI adapter to work in Windows 7.
      Windows 7 did't install the driver.
      Finaly i got it to work by booting in safe mode and then install the driver from this page. VCP Drivers

      posted in Development
      ErrK
      ErrK
    • RE: ESP8266 WiFi gateway port for MySensors

      @hek: Yes, it has fallbacks to use other protocols. I think there is a setting if you don't want to use all the default protocols.
      @scalz: interesting discussion. It looks like the best way shuld be to only use the websockets 🙂

      posted in Development
      ErrK
      ErrK
    • RE: ESP8266 WiFi gateway port for MySensors

      @scalz @hek you can look at socket.io if you are thinking of using websockets.

      posted in Development
      ErrK
      ErrK
    • RE: MyController+Domoticz at same time?

      @sundberg84 ok.
      I will try with MYSBootloader.
      Need to figure out how to do it on osx.
      Have only find the tutorial for windows yet.

      posted in MyController.org
      ErrK
      ErrK
    • RE: MyController+Domoticz at same time?

      @mfalkvidd i have the new Raspberry pi 2.
      The installation was simple.
      But i now i only have my gateway in MyController. Using Domoticz for my z-wave.

      @sundberg84 ok.
      Are you using MYSbootloader or Dualoptiboot?

      posted in MyController.org
      ErrK
      ErrK
    • RE: MyController+Domoticz at same time?

      @mfalkvidd do you have both MyController and Domoticz on the same Raspberry Pi?
      I will start from the Domoticz Raspberry Pi image and then try to install MyController.
      I use a ESP8266 gateway. Do you have any tips before i start?

      posted in MyController.org
      ErrK
      ErrK
    • RE: 💬 Easy/Newbie PCB for MySensors

      Thank you @sundberg84. I will think of that.

      posted in OpenHardware.io
      ErrK
      ErrK
    • RE: 💬 Easy/Newbie PCB for MySensors

      @sundberg84 yes it's working good. But the problem is that it's eating up the batteries 🙂
      It was up for only 15days.

      I will now test with a arduino that i have removed the led and volt regulator.

      posted in OpenHardware.io
      ErrK
      ErrK
    • RE: [SOLVED] Can't upload any sketch after battery modifications

      @Oitzu
      Thanks for the tips.
      After a many attempts it worked.

      I hold the reset down while it was compiling and first it failed.
      Then i tried again just after it failed and did it a few times. Then suddenly it did't fail and the sketch was uploaded.

      posted in Troubleshooting
      ErrK
      ErrK
    • RE: [SOLVED] Can't upload any sketch after battery modifications

      @Oitzu
      Here you can see some picture. on my drive

      I have made the modifications on two arduinos. One that have the VDC regulator.

      posted in Troubleshooting
      ErrK
      ErrK
    • RE: [SOLVED] Can't upload any sketch after battery modifications

      Yes.
      I'm using the power from the FTDI VCC to the VCC pin on the arduino.

      posted in Troubleshooting
      ErrK
      ErrK
    • [SOLVED] Can't upload any sketch after battery modifications

      Hi.
      I have begin to make battery modifications to my Arduino pro mini 5v to make them last longer.
      They looks like this.
      0_1454529211859_IMG_6201 copy.jpg

      I started to desolder the power LED and voltage converter beside the LED, then the VDC regulator.
      Now i can't upload any sketch to it.
      I have tried to upload a empty sketch and then ClearEepromConfig and always get the same error message

      Arduino: 1.6.5 (Mac OS X), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
      
      Sketch uses 1,922 bytes (6%) of program storage space. Maximum is 30,720 bytes.
      Global variables use 266 bytes (12%) of dynamic memory, leaving 1,782 bytes for local variables. Maximum is 2,048 bytes.
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
      avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xbd
      avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xaf
      avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x0b
      avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x39
      avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x3b
      avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x3a
      avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x0a
      avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x7f
      Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
      
        This report would have more information with
        "Show verbose output during compilation"
        enabled in File > Preferences.
      

      I got the tip from @sundberg84 that the bootloader maybe is broke.
      So i tried to burn/flash the bootloader but got this error message.

      Arduino: 1.6.5 (Mac OS X), Board: "Arduino/Genuino Uno"
      
      avrdude: stk500_recv(): programmer is not responding
      Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
      
        This report would have more information with
        "Show verbose output during compilation"
        enabled in File > Preferences.
      

      Can i have broke the arduino when i desolder the LED?
      I am thinking of the components in the red circle. (it's a img before my modifications)
      0_1454529634405_IMG_6201 copy copy.jpg

      posted in Troubleshooting
      ErrK
      ErrK
    • RE: 💬 Easy/Newbie PCB for MySensors

      I'am now finnish with my first rev7 node.
      It is a Arduino 5V with DHT-22 and a HC-SR501 sensor.
      1_1454528676795_IMG_6223 copy.jpg
      0_1454528676794_IMG_6224 copy.jpg

      Good work @sundberg84 for the PCB

      posted in OpenHardware.io
      ErrK
      ErrK
    • RE: My ESP8266 Gateway and nodes.

      I think i measure right.
      Here is how i do.
      1_1454015869745_IMG_6205 copy.jpg

      The led:s resistor is gone and the voltage converter is gone.
      0_1454015910536_IMG_6203.JPG
      But now it don't start, did i do anything wrong?
      0_1454015869744_IMG_6204 copy.jpg

      posted in My Project
      ErrK
      ErrK
    • RE: My ESP8266 Gateway and nodes.

      Thanks @Yveaux i will try that tonight.
      Hur do i measure how mutch power it use? To find out if i did it right.

      posted in My Project
      ErrK
      ErrK
    • RE: My ESP8266 Gateway and nodes.

      My first node stoped a few days ago, it was working for 14 days on 4 AA (its a 5v Arduino).
      I forgot to add the Step Up Module 1-5V to 5V. So now it's up and running again.
      Now i will try to do some modifications to save power. I have been looking at the guide General Tips for Battery Operationt but i don't find where i shuld do the cutting/desoldering on my board.
      Here is it.
      0_1453922966812_IMG_6201 copy.jpg

      To know if i did the modifications right i want to measure the power with a multimeter, but i don't know how.

      posted in My Project
      ErrK
      ErrK
    • RE: [SOLVED] Domoticz will no longer get my motion sensor value.

      I can see it in my gateway.
      I only send 1 from my node and then use a timer in Domoticz.

      Thanks @sundberg84 i will try to change to send 1 and 0.

      I have change my node and you was right. When you send both 1 and 0 then it worked.

      posted in Domoticz
      ErrK
      ErrK
    • [SOLVED] Domoticz will no longer get my motion sensor value.

      Hi.

      Using mysensors api version 1.6.0-beta.
      I just updated my Domoticz to version 2.4312 and now my motions sensor don't change value when it shuld.
      In serial monitor i can see that my node send the update when i trigger a motion.

      send: 2-2-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,st=ok:21.0
      send: 2-2-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=ok:29.0
      send: 2-2-0-0 s=2,c=1,t=16,pt=0,l=1,sg=0,st=ok:1
      send: 2-2-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,st=ok:20.0
      send: 2-2-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=ok:28.0
      send: 2-2-0-0 s=2,c=1,t=16,pt=0,l=1,sg=0,st=ok:1
      send: 2-2-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=ok:27.0
      send: 2-2-0-0 s=2,c=1,t=16,pt=0,l=1,sg=0,st=ok:1
      send: 2-2-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,st=ok:24.0
      

      But in Domoticz nothing is happening.
      I have a node with both Humidity and motion sensor it worked before the update so i think the something has changed in Domoticz.

      Any one have the same problem?

      posted in Domoticz
      ErrK
      ErrK
    • RE: My ESP8266 Gateway and nodes.

      @sundberg84 Thanks for the explanation. I will try that tonight.

      posted in My Project
      ErrK
      ErrK
    • RE: My ESP8266 Gateway and nodes.

      Today i got the PCB that i order from @sundberg84 design.
      I orderd them from http://smart-prototyping.com/
      Here is how they looks.
      PCB_top.jpg
      PCB_under.jpg

      Will begin with my next node tomorrow.
      In the waitng for the delivery i started to solder the pins on the arduino.
      IMG_6160_2.jpg

      But i just find that it will not work with the PCB because the pins will then hit the NRF24L01.
      So i need to start with unsolder them.

      posted in My Project
      ErrK
      ErrK
    • RE: My ESP8266 Gateway and nodes.

      Nice that other have the same boxes.
      They are good and cheep 🙂

      posted in My Project
      ErrK
      ErrK
    • RE: My ESP8266 Gateway and nodes.

      @Dimitri-Henning It's from a store in Sweden.
      http://www.biltema.se/sv/Bygg/El/Fast-installation/Kulodosa-2000022310/

      posted in My Project
      ErrK
      ErrK
    • RE: My ESP8266 Gateway and nodes.

      Here is my first node.
      I got my inspiration from @the-cosmic-gate:s 3 in 1 incl battery monitor

      I am using a Arduino Pro Mini 5v because i have not recived my Step Up Boost Module 5V yet.
      The sensors i have connect is a DHT-22 and a HC-SR501 motion sensor.

      This is the top.
      Node1.jpg

      This is the botton.
      Node2.jpg

      The box i use for this i the same i used for my gateway.
      NodeBox1.jpg

      NodeBox2.jpg

      I will make a update when i have build my next node with a PCB from @sundberg84

      posted in My Project
      ErrK
      ErrK
    • My ESP8266 Gateway and nodes.

      This will be continued as my work progress.


      Hi.

      My gateway has been running for a few weeks now and this week I finally finished my first node.
      It gave me a few burn marks on my fingers and required many hours of soldering, but now it's done!

      To make it easier with the following nodes I've ordered a few of @sundberg84:s Easy/Newbie PCB

      I currently use API 1.6.0-beta.
      My Gateway is a ESP8266 with a NRF24L01+PA+LNA
      First I cut one of my Prototype PCB and then I soldered the NRF24L01.
      GatewayBuild1.jpg

      After that I started to prepare for all the cables.
      GatewayBuild2.jpg

      I finally put on the ESP8266 so it will hide the cables.
      GatewayBuild3.jpg

      When it's done it looks like this:
      Gateway1.jpg
      Gateway2.jpg
      Gateway3.jpg

      Here is when it's in a box. Yes, I know the box is bigger than it needs to be 🙂
      GatewayBox1.jpg

      GatewayBox2.jpg

      posted in My Project
      ErrK
      ErrK
    • RE: Easy/Newbie PCB for MySensors

      Thanks, then i will look in to it.

      posted in Hardware
      ErrK
      ErrK
    • RE: Easy/Newbie PCB for MySensors

      This is what i have been looking for. Nice work @sundberg84 .
      Where is the best site to order this from?

      posted in Hardware
      ErrK
      ErrK
    • RE: Anyone has the setup domoticz => mqtt broker => mysensors up n running?

      I have tried this with my ESP8266 gateway but i did't work.
      I'm currently using it as a regular ESP8266 Gateway but when it works with MQTT i will switch to it.

      posted in Domoticz
      ErrK
      ErrK
    • RE: 5v Battery level

      @sundberg84 ok. Thanks for the help and the quick reply.

      posted in My Project
      ErrK
      ErrK
    • RE: 5v Battery level

      My node has been on for a week now and the battery meter shows 102%. It feels like a bit to much.

      posted in My Project
      ErrK
      ErrK
    • RE: 5v Battery level

      @mfalkvidd that's exactly what I was looking for.
      Thanks for the quick answer.

      posted in My Project
      ErrK
      ErrK
    • 5v Battery level

      Hi.
      I have a Arduino mini 5v node with DHT11 and a Motion Sensor.
      Now i want to add a battery level function but i have only find how to do it with 3.3v.
      I am currently using 4st AA batteries for this node.

      posted in My Project
      ErrK
      ErrK
    • RE: Can't see any sensors in Domoticz

      Now this is working.
      I use Arduino 1.6.5 and develop version of mysensors API (1.6.0-beta) .
      Here is how it looks in Domoticz

      Screen Shot 2015-12-16 at 09.32.35.png

      posted in Domoticz
      ErrK
      ErrK
    • RE: [Solved] ESP8266 Wifi Gateway problem to connect a sensor

      After a few hours of trying this i now working.
      I reconnect all the wiring and then it start to work.
      It must have been som problem with the wiring.

      Now i use Arduino 1.6.5 and develop version of mysensors API.

      posted in Troubleshooting
      ErrK
      ErrK
    • RE: Installing MySensors and Arduino IDE on OSX

      I first tried with 1.6.6 but it did not work so now i use 1.6.5.

      posted in Troubleshooting
      ErrK
      ErrK
    • [Solved] ESP8266 Wifi Gateway problem to connect a sensor

      Hi.
      I started with a thred yesterday in the Domoticz but i think that the problem is not with Domoticz.

      I am using a Mac and have connect both the Gateway and the Sensor to it just to be able to use Serial Monitor.
      Running now on develop version (1.6.0-beta as it says when the sensor starts)
      I use a ESP8266 Wifi Gateway.

      The sensor i have built is a motion sensor on a Arduino mini pro 5v.
      It looks like this in the logs after i uploaded the sketch

      Starting sensor (RNNNA-, 1.6.0-beta)
      Radio init successful.
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      Init complete, id=255, parent=255, distance=255
      

      I can see that it triggers something in the serial monitor when i move the sensor.
      It looks like this

      1
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      0
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      1
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      0
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      

      In the gateway the it looks like this

      0;0;3;0;9;Client 0: 0;0;3;0;18;PING
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;Client 0: 0;0;3;0;18;PING
      

      The PING is from Domoticz.
      When i reconnect the sensor to the usb port.
      It looks like this in the Gateway

      0;0;3;0;9;Client 0: 0;0;3;0;18;PING
      0;0;3;0;9;Client 0: 0;0;3;0;18;PING
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;Client 0: 0;0;3;0;18;PING
      0;0;3;0;9;read and forward: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      

      I have tried to reconnect the sensor but i got the same problem.
      Any one know what i can do next?

      posted in Troubleshooting
      ErrK
      ErrK
    • RE: Can't see any sensors in Domoticz

      I have now tried to reuplode the sketch to both the gateway and the sensor.

      I think the problem is with the gateway.
      Look here at the log.

      tail 0
      chksum 0x42
      csum 0x42
      
      
      ESP8266 MySensors Gateway
      Connecting to XXX
      ...Connected!
      IP: 10.0.1.6
      0;0;3;0;9;gateway started, id=0, parent=0, distance=0
      Client 0 connected
      0;0;3;0;14;Gateway startup complete.
      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      Client 0: 0;0;3;0;2;
      
      Exception (28):
      epc1=0x4000bf80 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000
      
      ctx: cont 
      sp: 3ffeac40 end: 3ffeaec0 offset: 01a0
      
      >>>stack>>>
      3ffeade0:  00000080 3fffc6fc 3ffe977f 40203ac0  
      3ffeadf0:  3ffeaf20 00000001 3ffe8f8f 4020b794  
      3ffeae00:  3ffeaf20 00000009 3ffe9872 00000000  
      3ffeae10:  00000003 00000000 3ffe9860 4020ae11  
      3ffeae20:  00000001 3ffe9869 3ffeaf20 4020ae11  
      3ffeae30:  3ffe9869 3ffe9869 3ffeaf20 3ffeaf20  
      3ffeae40:  3ffe9869 3ffe9778 3ffe977f 402024b4  
      3ffeae50:  3ffe9a68 3ffe9869 00000000 40202784  
      3ffeae60:  3ffe8e18 00000000 000003e8 3ffe9bf8  
      3ffeae70:  00000000 3fff4c28 3fff4bb8 3ffeaeec  
      3ffeae80:  00000000 0000000a 00000000 00000000  
      3ffeae90:  40201c35 0601000a 00000000 3ffeaeec  
      3ffeaea0:  3fffdc20 00000000 3ffeaee4 40201c92  
      3ffeaeb0:  00000000 00000000 3ffe9ea0 40100378  
      <<<stack<<<
      
       ets Jan  8 2013,rst cause:2, boot mode:(1,7)
      
      
       ets Jan  8 2013,rst cause:4, boot mode:(1,7)
      
      wdt reset
      

      It craches when i connect the sensor.

      posted in Domoticz
      ErrK
      ErrK
    • RE: Can't see any sensors in Domoticz

      Thanks for your quick response.

      When i start the gateway it looks like this.

      rlx00l��|x00�l�|�l�b|����r�b�b��nn�lnn���bp��lrlrlp�n��l��bn�|l����b��nn�x00l��l`�nnl`nr���n��l`r��n��l`��n�
      
      ESP8266 MySensors Gateway
      Connecting to XXX
      ...Connected!
      IP: 10.0.1.6
      0;0;3;0;9;gateway started, id=0, parent=0, distance=0
      

      And when i start the motionSensor it looks like this in the gateway.

      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
      255;255;3;0;3;
      

      In the motionsensor it looks like this.

      sensor started, id=255, parent=0, distance=1
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      0
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      1
      req id
      send: 255-255-0-0 s=255,c=3,t=3,pt=0,l=0,sg=0,st=ok:
      0
      

      I have now connect them to two seperate usb ports on my Mac to use the serial monitor.

      posted in Domoticz
      ErrK
      ErrK
    • Can't see any sensors in Domoticz

      Hi.
      I have just started to build my sensors and now i got a problem that i hope you can help me with.

      I am using version 1.5.1 of the API.
      Have a ESP8266 Gateway that i only change ssid and password from the example sketch.

      In Domoticz (version 2.3799) i have added the gateway as an "MySensors Gateway with LAN interface" with the right ip and port 5003.
      I can see in the log in Domoticz

      2015-12-12 22:03:52.065 MySensors: connected to: 10.0.1.6:5003
      2015-12-12 22:03:52.066 MySensors: Gateway Ready... 
      

      I have also created a MotionSensor and the logg when i start it is looks like this.

      sensor started, id=255, parent=255, distance=255
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      0
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      1
      find parent
      send: 255-255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
      

      The log for my gateway when i trigger a motion infront of my MotionSensor is this.

      0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      0;0;3;0;9;read: 255-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
      0;0;3;0;9;send: 0-0-255-255 s=255,c=3,t=8,pt=1,l=1,sg=0,st=bc:0
      

      So i think it looks like the gateway can see what the MotionSensor send.

      But i can't find the MotionSensor in Domoticz.
      I am also using the Domoticz for my z-wave components.

      Any one that can give me some tips on what i do wrong?

      posted in Domoticz
      ErrK
      ErrK