Navigation

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

    Posts made by Kurtsejr

    • RE: MySensors GW on rpi3

      @Kurtsejr Thanks
      Everything seems to be working, used the "dev version" - thanks for helping, I started with a new image.

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      @Kurtsejr Thanks a lot!
      I removed the entry in the interrupt.cpp fil, and was then able to do a make , "make" - with some warnings, but make ended up writing this to me:

      /home/pi/MySensors/./hal/architecture/Linux/drivers/core/config.h:39: multiple d efinition of `conf'; build/hal/architecture/Linux/drivers/core/config.o:/home/pi /MySensors/hal/architecture/Linux/drivers/core/config.h:39: first defined here
      collect2: error: ld returned 1 exit status
      make: *** [Makefile:80: bin/mysgw] Error 1
      pi@MySensor-GW:~/MySensors $
      pi@MySensor-GW:~/MySensors $ sudo ./bin/mysgw -c
      sudo: ./bin/mysgw: command not found

      This means that I do not have a mysgw file in "bin" - bin dir is empty

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      @Kurtsejr Now I have network connection, made an update and upgrade, and now I can install from github. Changed to rf24 radio, and could see that ethernet was default.

      pi@MySensor-GW:~/MySensors $ sudo ./configure --my-transport=rf24
      [SECTION] Detecting target machine.
      [OK] machine detected: SoC=BCM2837, Type=rpi3, CPU=armv7l.
      [SECTION] Detecting SPI driver.
      [OK] SPI driver detected:BCM.
      [SECTION] Gateway configuration.
      [OK] Type: ethernet.
      [OK] Transport: rf24.
      [OK] Signing: Disabled.
      [OK] Encryption: Disabled.
      [OK] CPPFLAGS: -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloa t-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX _ARCH_RASPBERRYPI
      [OK] CXXFLAGS: -std=c++11
      [SECTION] Detecting init system.
      [OK] Init system detected: systemd.
      [SECTION] Saving configuration.
      [OK] Saved.
      [SECTION] Cleaning previous builds.
      [OK] Finished.

      Next was to do a make, result:

      pi@MySensor-GW:~/MySensors $ sudo make
      g++ -MT build/hal/architecture/Linux/drivers/core/interrupt.o -MMD -MP -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI -Ofast -g -Wall -Wextra -std=c++11 -I. -I./core -I./hal/architecture/Linux/drivers/core -I./hal/architecture/Linux/drivers/BCM -c hal/architecture/Linux/drivers/core/interrupt.cpp -o build/hal/architecture/Linux/drivers/core/interrupt.o
      hal/architecture/Linux/drivers/core/interrupt.cpp:33:10: fatal error: stropts.h: No such file or directory
      33 | #include <stropts.h>
      | ^~~~~~~~~~~
      compilation terminated.
      make: *** [Makefile:99: build/hal/architecture/Linux/drivers/core/interrupt.o] Error 1
      pi@MySensor-GW:~/MySensors $

      So it seems that something is missing, something linux basic ....

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      @mfalkvidd You are right, no network connection - strange I will investigate, thanks!

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      @mfalkvidd I decided to reinstall, start from scratch by installing a new pi image om my SDHC disk, but trying to install the GW software I get this message:

      pi@MySensor-GW:~ $ pwd
      /home/pi
      pi@MySensor-GW:~ $ sudo git clone https://github.com/mysensors/MySensors.git --branch development
      Cloning into 'MySensors'...
      fatal: unable to access 'https://github.com/mysensors/MySensors.git/': Couldn't connect to server
      pi@MySensor-GW:~ $ sudo git clone https://github.com/mysensors/MySensors.git --branch master
      Cloning into 'MySensors'...
      fatal: unable to access 'https://github.com/mysensors/MySensors.git/': Couldn't connect to server
      pi@MySensor-GW:~ $

      Has something changed? or is it github that does not response?

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      @mfalkvidd said in MySensors GW on rpi3:

      sudo systemctl enable mysgw.service

      Thanks for your reply

      I have run the command, result:

      pi@MySensor-GW:~ $ sudo systemctl enable mysgw.service
      pi@MySensor-GW:~ $

      How do I remove if more that one instance is started? - I will try to google it. Perhaps it's easier to start from beginning again

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      Yes I made a reboot, just made a new reboot - same result 😞

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      Sorry one more:

      pi@MySensor-GW:~/MySensors $ sudo make
      pi@MySensor-GW:~/MySensors $ sudo make install
      Installing bin/mysgw to /usr/local/bin
      install -m0644 initscripts/mysgw.systemd /etc/systemd/system/mysgw.service
      systemctl daemon-reload
      MySensors gateway has been installed, to add to the boot run:
      sudo systemctl enable mysgw.service
      To start the gateway run:
      sudo systemctl start mysgw.service
      pi@MySensor-GW:~/MySensors $ sudo systemctl enable mysgw.service
      pi@MySensor-GW:~/MySensors $

      So no warnings or errors on make and make install, seens to be ok.

      Then a "sudo reboot"

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      Used --rf24 I get:

      [SECTION] Detecting target machine.
      [OK] machine detected: SoC=BCM2837, Type=rpi3, CPU=armv7l.
      [SECTION] Detecting SPI driver.
      [OK] SPI driver detected:BCM.
      [SECTION] Gateway configuration.
      [OK] Type: ethernet.
      [OK] Transport: rf24.
      [OK] Signing: Disabled.
      [OK] Encryption: Disabled.
      [OK] CPPFLAGS: -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -DMY_RADIO_RF24 -DMY_GATEWAY_LINUX -DMY_DEBUG -DLINUX_SPI_BCM -DLINUX_ARCH_RASPBERRYPI
      [OK] CXXFLAGS: -std=c++11
      [SECTION] Detecting init system.
      [OK] Init system detected: systemd.
      [SECTION] Saving configuration.
      [OK] Saved.
      [SECTION] Cleaning previous builds.
      [OK] Finished.

      Seems fine for me

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: MySensors GW on rpi3

      I used the "Raspberry pi OS (32 bit) from 2022-09-22

      on configure I used
      sudo ./configure --my-gateway=ethernet
      could see that port 5003 and rf24 was default

      My controller is HA, but the error messages was of cause from

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • MySensors GW on rpi3

      I have installed a new image on a rpi3 and followed the installation guide for getting the GW installed - ethernet selected.
      When I run "sudo ./bin/mysgw" i receive these messages:

      Sep 28 13:14:14 ERROR accept: Bad file descriptor
      Sep 28 13:14:14 ERROR accept: Bad file descriptor
      Sep 28 13:14:14 ERROR accept: Bad file descriptor
      Sep 28 13:14:14 ERROR accept: Bad file descriptor
      Sep 28 13:14:14 ERROR accept: Bad file descriptor

      What does this mean?

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Ethernet problem

      SOLVED
      I did not managed to get i working, shifted to a Raspberry PI, that works perfect - It seems that I also get version 1.x data from the gateway, Interesting if the gateway both can receive 1.x and 2.x data from sensors.

      posted in Domoticz
      Kurtsejr
      Kurtsejr
    • Ethernet problem

      Hi all

      Setup:
      Arduino UNO with 5100 Ethernet Module and NRF24 Radio, wired as described https://www.mysensors.org/build/ethernet_gateway#wiring-things-up

      Using static IP address

      Gateway Output (COM6):

      0 MCO:BGN:INIT GW,CP=RNNGA---,REL=255,VER=2.3.1
      4 TSM:INIT
      5 TSF:WUR:MS=0
      11 TSM:INIT:TSP OK
      13 TSM:INIT:GW MODE
      15 TSM:READY:ID=0,PAR=0,DIS=0
      17 MCO:REG:NOT NEEDED
      580 GWT:TIN:IP=88.24.1.12
      1583 MCO:BGN:STP
      1585 MCO:BGN:INIT OK,TSP=1
      1587 TSM:READY:NWD REQ
      1624 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
      42372 TSF:MSG:READ,11-11-0,s=3,c=1,t=23,pt=2,l=2,sg=0:42
      44372 TSF:MSG:READ,11-11-0,s=1,c=1,t=0,pt=7,l=5,sg=0:27.4
      44381 TSF:MSG:READ,11-11-0,s=0,c=1,t=1,pt=7,l=5,sg=0:16.5
      108341 TSF:MSG:READ,6-6-0,s=1,c=1,t=0,pt=7,l=5,sg=0:26.5
      108400 TSF:MSG:READ,6-6-0,s=2,c=1,t=1,pt=2,l=2,sg=0:38
      180666 TSF:MSG:READ,5-5-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
      192955 TSF:MSG:READ,5-5-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
      205265 TSF:MSG:READ,5-5-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
      212962 GWT:TSA:ETH OK
      212967 GWT:RFC:MSG=0;0;3;0;2;
      212972 GWT:RFC:MSG=0;0;3;0;18;PING
      212978 GWT:RFC:MSG=0;0;3;0;2;Get Version
      213651 !GWT:TSA:ETH FAIL
      And it continue, if I reset a sensor I can see that data are coming in, but also that I regular get a “ETH FAIL” messages from Gateway, it seams to restart.

      On my Domoticz Controller:

      Log file says:
      2019-11-24 14:19:14.397 Status: MySensors: trying to connect to: 172.24.1.12:5003
      2019-11-24 14:19:14.401 Status: MySensors: connected to: 172.24.1.12:5003
      2019-11-24 14:21:17.658 Status: MySensors: disconnected
      2019-11-24 14:21:17.658 Status: MySensors: Connection reset!
      2019-11-24 14:21:47.659 Status: MySensors: connected to: 172.24.1.12:5003
      2019-11-24 14:21:54.415 Status: MySensors: disconnected
      2019-11-24 14:21:54.415 Status: MySensors: Connection reset!
      2019-11-24 14:22:24.416 Status: MySensors: connected to: 172.24.1.12:5003
      2019-11-24 14:22:34.418 Status: MySensors: disconnected
      2019-11-24 14:22:34.418 Status: MySensors: Connection reset!
      2019-11-24 14:23:04.424 MySensors: Gateway Ready...
      2019-11-24 14:23:04.429 MySensors: Gateway Version: 2.3.1
      2019-11-24 14:23:04.420 Status: MySensors: connected to: 172.24.1.12:5003
      2019-11-24 14:23:05.117 Status: MySensors: disconnected
      2019-11-24 14:23:05.117 Status: MySensors: Connection reset!
      2019-11-24 14:23:35.118 Status: MySensors: connected to: 172.24.1.12:5003
      2019-11-24 14:23:44.425 Status: MySensors: disconnected
      2019-11-24 14:23:44.425 Status: MySensors: Connection reset!
      2019-11-24 14:24:14.426 Status: MySensors: connected to: 172.24.1.12:5003
      2019-11-24 14:24:24.428 Status: MySensors: disconnected
      2019-11-24 14:24:24.429 Status: MySensors: Connection reset!
      2019-11-24 14:24:54.430 Status: MySensors: connected to: 172.24.1.12:5003
      2019-11-24 14:25:04.432 Status: MySensors: disconnected
      2019-11-24 14:25:04.432 Status: MySensors: Connection reset!

      So the “ETH Fail” seems to be correct, and related to Domoticz problems in using the Gateway. I have of cause:

      1. Checked the wiring more that one time
      2. Changed to another Erhernet hardware module

      What’s going on?

      posted in Domoticz
      Kurtsejr
      Kurtsejr
    • RE: DHT22 and DHT lib

      Thanks @mfalkvidd , it works as you described. Great! - I will then move on 🙂

      /Kurt

      posted in My Project
      Kurtsejr
      Kurtsejr
    • RE: DHT22 and DHT lib

      Thanks @badmannen
      Yes I'm using the script you link to, but compiling it tell that it can't find DHT.h, so I was looking for the DHT libray, It seems that this library is not part of MySensors 2.x download when you from the IDE install library's.

      posted in My Project
      Kurtsejr
      Kurtsejr
    • DHT22 and DHT lib

      Hi
      I'm new to version 2.x, has done sensors/gateways to version 1.x system. So I restarted myself in using version 2.x. Made the IDE installation on WIN10 via Windows store, and downloaded the mysensors 2.3.1 via IDE - works great!.
      For starting I found https://www.mysensors.org/build/humidity just for testing that the enviroment are working, discovered that the DHT lib is not part of mysensors anymore, found it ( https://github.com/mysensors/MySensorsArduinoExamples/archive/master.zip) as the old lib and added this.

      But I get a number of compilation error e.g.:
      "undefined reference to `DHT::getHumidity()'"

      So it seems that I'm using a wrong DHT libary version, I was looking at github - but it seems already to be converted to MuSensors version 2.x

      Strange ... hope someone can pinpoint me to the correct libary

      /Kurt

      posted in My Project
      Kurtsejr
      Kurtsejr
    • RE: New installation on WIN10

      Thanks.
      I have just installed the version from Windows store, version 1.8.9 - this version is working!

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: New installation on WIN10

      who can help, what can I have done wrong?

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • New installation on WIN10

      Hi

      I have been a happy user, and using mysensors over some years. I now decided to restart after a break. Want to start with the latest release. So I delete my old Arduino IDE, installed version - 1.8.10 (WIN10), then want to add mysensors libraries, “Sketch/Include libraries /Manage libraries – found Mysensors 2.3.1 and “Install”, get a strange error in the IDE window

      Invalid library found in C:\Users\Kurt\Documents\Arduino\libraries\arduino_825951: no headers files (.h) found in C:\Users\Kurt\Documents\Arduino\libraries\arduino_825951”

      And I can’t fint any Mysensors examples, and it seems that no mysensors libraries has been installed
      What can I have done wrong?

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Backwards compatible

      Thanks, super and clear answer.

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • Backwards compatible

      Have been on ”MySensors” some time now, and have made sensors on protocol #1 (lib 1.x) and been using at Ethernet gateway that has been working fine – but not anymore. My controller is a Domoticz on a RPI.
      My first problem is of case that I need a new gateway, and it seems naturally that I move on to lib version 2.x, but can I use a 2.x gateway and then receive 1.x messages from my sensors?. I only have sensors that e.g. report temperature to my controller.
      So is 2.x gateway backwards compatible – or what do I do in practice?

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: D_HumiditySensor1.xml missing?

      UPDATE
      Vera support was able to fix it 🙂

      posted in Vera
      Kurtsejr
      Kurtsejr
    • RE: D_HumiditySensor1.xml missing?

      Thanks hek, I will - Kurt

      posted in Vera
      Kurtsejr
      Kurtsejr
    • RE: D_HumiditySensor1.xml missing?

      It seems that I also are missing json file to Humidity and Door sensors .... - hope it's possible to reload all default files.

      /Kurt

      posted in Vera
      Kurtsejr
      Kurtsejr
    • RE: D_HumiditySensor1.xml missing?

      Thanks, I dont know what has happened, but after I have uploaded the file I'm missing D_DoorSensor1.xml - are there any way I can reload all default files in Vera?

      /Kurt

      posted in Vera
      Kurtsejr
      Kurtsejr
    • D_HumiditySensor1.xml missing?

      My Vera, with UI7 says to me that D_HumiditySensor1.xml is missing - on the top of the screen,
      I have google this file, but I cant find it. Does anyone have this file?

      /Kurt

      posted in Vera
      Kurtsejr
      Kurtsejr
    • RE: RPi as a 'node'?

      @Bens
      Do you have a link to the documentation, please?
      /Kurt

      posted in General Discussion
      Kurtsejr
      Kurtsejr
    • Getting data from an RPI to Vera?

      I have weather station data on a RPI and have made Perl code for reading the weather station, through rrdtool I managed to make some nice graphs – that’s all ok. But I have also a Vera, and made a network thanks to this great community.
      I would like to have my data on the RPI transferred to Vera, I have thought about these solutions:

      1. Connect a radio to the RPI and let the RPI act as a sensor
      2. Connect the RPI to Vera using the USB ports
      3. Connect Arduino to RPI using USB ports
      4. Connect RPI and Arduino using GPIO pins (voltage problems)

      What’s the easiest way of handling this?

      I prefer Perl code on the RPI

      /Kurt
      

      posted in General Discussion
      Kurtsejr
      Kurtsejr
    • Raspberry data to > Mysensoors/Vera

      I have a Raspberry Pi who interface a weather station, and I have made some perl code that make me read data from the weather station, put into a rrd database and then produce graphs to a web side. But since I have moved to mysensors and a using Vera controller, I want my weather data loaded in Vera. I see two possible ways of handling this:

      1. Vera may read data directly via a web interface
      2. I emulated a sensor and transfer data through the normal 2.4 Ghz interface.

      Has anyone done this before, and are there any hint to help me ?

      /Kurt

      posted in My Project
      Kurtsejr
      Kurtsejr
    • RE: Read log from serial Gateway on raspberry Pi.

      @popunonkok said:

      sudo cat /dev/ttyUSB0

      That works for me, but return some strange data - I assume that his is because the baudrate is wrong.
      barbuino posted the "screen" command that is working on a MAC, but I cant find a similar command for the pi - does anyone know that command?

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Sonos and Vera/Mysensors problem

      SOLVED
      I have moved my Vera controller away from my Sonos bridge, and I have had no Sonos problems the last 2 weeks .....

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Version Mismatch

      SOLVED:
      I have changed most of my hardware, it seams to be the UNO who did something strange. I also updated to lib version 1.5 and latest Arduino IDE - now all is ok again 🙂

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Version Mismatch

      I'm now powering my UNO with a separate power supply, but with the same problem. I will try to substitute HW and are coming back when I found out why!
      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Version Mismatch

      Thanks for quick reply

      Does this mean that I have a device that send me data or is it a mismatch caused by wrong GW software?

      Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • Version Mismatch

      Hi all

      I have a strange new behave with my Ethernet GW connected to my VeraEdge (latest SW), from the GW terminal output I get a lot of these:

      0;0;3;0;9;version mismatch
      0;0;3;0;9;read: 0-0-0 s=0,c=0,t=0,pt=0,l

      I can see from the protocol that “3” means a request for a node ID, but I have switched off all my notes – so it seems to come from the GW itself – is this correct?
      it seems to be an outgoing message because of “0” after “3” – sub-type (9) indicates a wind sensor – this gives no meaning, my weather station is running 433 Mhz.

      My Vera and GW have been switched off for a few weeks because of Sonos problems, so I dont know when this has started.

      When I search the forum, I can’t really find similar problems

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Sonos and Vera/Mysensors problem

      Thanks heg, nice to hear that it should work.
      Sonos support was very clear, it’s Vera who make the problem – but I could not get any details from their first line support, it was the message from 2 line support. But after I have been without Vera/Sensornet support in 2 weeks and without Sonos problems – I must say that they might have right.
      I could imagine that there could be a 2.4 Ghz challenge and that’s why I had Sensornet in mind. I have “all” my electronics, including Vera and Sonos Bridge in a small closet, including a couble og RasPI, Ethernet GW + ….
      I will try to move Vera to another room, there might be some interference problem.

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • Sonos and Vera/Mysensors problem

      I have a serious problem with my Sonos installation, but after I switch off my Vera and ”Sensor network” Sonos again works perfect – after a lot of support calls with Sonos.

      I have not enabled wifi in Vera, and has selected channels without “noice” when configuring my wifi internet access the Sonos Bridge.

      Has anyone of you had the same problem?

      My configuration
      • Sonos Bridge + 4 Sonos speakers, SonosNet channel 1
      • Broadband router with WiFi connection, channel 6
      • Vera Edge with UI7, latest SW release
      • Ethernet GW to Mysensors, version 1.41 with std. setup
      • 6 sensors, version 1.41 with std. setup

      I was wondering if Mysensor channel (76?) and my wifi channel (channel 6) could interfere and make the trouble or what SonosNet channel 1 mean, but I assume that it is the same as wifi channel 1

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Sensebender Micro

      @hek
      I have used the one mentioned here: http://www.mysensors.org/controller/vera

      Still cant include, but I have had these problems before with e.g. a relay or motion sensor - but after several tries it include a appear in the user interface.
      But perhaps the software installed on the board does not use the same frequency as default Sensornet lib's are using?

      /Kurt

      posted in Announcements
      Kurtsejr
      Kurtsejr
    • RE: Sensebender Micro

      Has anyone been able to "Include" it to VERA UI7, My Sensebender borad is working fine according to the output from the Arduino terminal window - it request a node id, but will not "include". I'm using the default code already installed in Sensebender Micro board.

      /Kurt

      posted in Announcements
      Kurtsejr
      Kurtsejr
    • RE: Controllers and Graph

      thanks @BulldogLowell , it seams that if I will keep my VeraEdge investment, it plot.ly to go. I will see if can find some simple examples.

      /Kurt

      posted in Controllers
      Kurtsejr
      Kurtsejr
    • Controllers and Graph

      What is the best controller if you want to do graphs?
      I have bought a VeraEdge, but it seems impossible to get “Mysensor” data concerted to Graphs, or do I miss something? – I don’t think that I ever have bought a product with such bad documentation as VeraEdge/UI7.
      I have tried DomotiGa on a RasPi, but had problems with the web client, but it was ok and not so critical with the format from different MySensors as Vera

      Any suggestions for nice looking graphs?

      /Kurt

      posted in Controllers
      Kurtsejr
      Kurtsejr
    • RE: VeraEdge/UI7 and Gateway

      It's a bit strange, because my relay works fine when I have the Ethernet gateway terminal window open from the IDE.
      Before I open the window the relay did not work, but just open it - ask Vera to send command, and the relay works!

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: VeraEdge/UI7 and Gateway

      Sorry me again 🙂

      I can now read a lot parameter from different kind of sensors from different rooms, but VeraEdge says "MySensors plugin : Cannot send command - communications error" and I have no contact to a relay sensor .... any idear? (I can include the relay sensor)
      When I open the terminal window to the gateway, everything looks ok

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: VeraEdge/UI7 and Gateway

      Hi again

      I have seen that someone have had problems by using 3.3V to both radio and ethernet shield - I therefore changed to a UNO - now my VeraEdge can connect - I cant see any sensors yet, but that might be me not understanding Vera user interface

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: VeraEdge/UI7 and Gateway

      Hi @admin and @Anthony-Straw

      I have now completely re-installed my Arduino environment

      I don't think that I shall use SOFTSPI, because I use the ENC28J60 module and according to the example script:

      COMPILING ENC28J60 ETHERNET MODULE

      • Use Arduino IDE 1.5.7 (or later)

      • Disable DEBUG in Sensor.h before compiling this sketch. Othervise the sketch will probably not fit in program space when downloading.

      • Remove Ethernet.h include below and include UIPEthernet.h

      • Remove DigitalIO include

      It's not necessary to uncomment SOFTSPI - but I cant find a file called Sensor.h but of a file called MySensor.h - here I find a DEBUG, but cant see if this can be disabled - I can compile and upload, but my Ethernet card (have changed it) does not start - only power is on 😞
      I use latest Arduino version (1.6.0). to an Arduino NANO with ATmega328

      strange .......
      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: VeraEdge/UI7 and Gateway

      Thanks!
      i have enabled SODTSPI in the wromg, thanks @Anthony-Straw for pointing me to the right directory, and not just arduino/libaries/rd24. When I now complile i get an error:

      In file included from C:\Program Files (x86)\Arduino\libraries\MySensors/MySensor.h:28,
      from EthernetGateway-sensornet.ino:43:
      C:\Program Files (x86)\Arduino\libraries\MySensors/utility/RF24.h:51: error: ISO C++ forbids declaration of 'SoftSPI' with no type
      C:\Program Files (x86)\Arduino\libraries\MySensors/utility/RF24.h:51: error: expected ';' before '<' token

      What does this mean?

      Is my environment a mess?

      /Kurt

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr
    • RE: Vera Edge

      @anjo
      This is just what I'm trying to do - without success. I'm nut sure it it's a HW or a SW problem, but I have being using MySensors before. Did you do anything special on the Edge?. I'm out of idears - I have the same Ethernet board, a NANO and the radio - have double checked wiring and enabled softspi in the lib.
      What was your main problems?
      /Kurt

      posted in Vera
      Kurtsejr
      Kurtsejr
    • VeraEdge/UI7 and Gateway

      I was using a RasPI controller with the serial gateway, but have received a VeraEdge – thought it should be easy to change – but no!.
      I’m was giving up using the serial GW, because I have a Nano clone – worked fine on the PI, but not on VeraEdge. Then I changed to the Ethernet (ENC28J60) version and have wired according to this (as on MeSensors web page):

      Arduino NRF24L01 Radio Ethernet module
      GND GND GND
      3.3V VCC VCC
      13 SCK SCK
      12 MISO MISO/SO
      11 MOSI MOSI/SI
      10 SS/CS
      6 CSN
      5 CE

      Ensured that I have a valid IP address and configured Vera according to the description on the web page, but on the Ethernet board only power LED is on, starting the terminal says “0;0;3;0;9;check wires” ….

      I have checked and checked and checked that the wires is according to above, ensured that I’m using UIPEthernet.h and not just Ethernet.h

      I’m almost sure it’s not my Ethernet board, because I have changed it to another one.

      Any idear?

      posted in Troubleshooting
      Kurtsejr
      Kurtsejr