Navigation

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

    Kurtsejr

    @Kurtsejr

    7
    Reputation
    48
    Posts
    716
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Kurtsejr Follow

    Best posts made by Kurtsejr

    • RE: D_HumiditySensor1.xml missing?

      UPDATE
      Vera support was able to fix it 🙂

      posted in Vera
      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: 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: RPi as a 'node'?

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

      posted in General Discussion
      Kurtsejr
      Kurtsejr
    • RE: Backwards compatible

      Thanks, super and clear answer.

      posted in Troubleshooting
      Kurtsejr
      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

    Latest 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