- Základní údaje
- Napsal petrp2b
- Kategorie: MySensors
- Zobrazení: 229
Compile on 32 bit Raspberry Pi OS (RPi 3B+):
1) git clone https://github.com/mysensors/MySensors.git --branch development
2) cd MySensors
3) ./configure --my-transport=rfm69 --my-rfm69-frequency=433 --my-rfm69-encryption-enabled --my-gateway=ethernet --my-port=5003
4) make
5) sudo make install
testing
6) sudo systemctl enable mysgw.service
7) sudo systemctl start mysgw.service
8) cat /tmp/mysgw.pipe
Move to 64 bit Raspberry Pi OS (RPi 3B+):
1) copy from 32 bit to 64 bit same folder:
/usr/local/bin/mysgw
/usr/lib/arm-linux-gnueabihf/
libc.so.6
libgcc_s.so.1
libm.so
libm.so.6
libstdc++.so.6
libstdc++.so.6.0.30
/usr/lib/ld-linux-armhf.so.3
2) copy /etc/mysensors.conf
3) copy /etc/mysensors.eeprom
4) copy /etc/systemd/system/mysgw.service
5) sudo systemctl enable mysgw.service
6) sudo systemctl start mysgw.service
7) cat /tmp/mysgw.pipe