Comments (2)
Hi @deanfourie1,
I hope it does... Have you had the possibility to try it?
Thanks!
Benni
from mqtt-io.
Just humbling over this topic. I am using https://wiki.loxberry.de/plugins/multi_io/start which is based on mqtt-io and it is not working with raspi 5 at the moment...
2024-08-17 11:55:33,329 mqtt_io.__main__ (ERROR): MqttIo crashed!
Traceback (most recent call last):
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/__main__.py", line 107, in main
mqtt_gpio.run()
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/server.py", line 1448, in run
self._init_digital_inputs()
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/server.py", line 420, in _init_digital_inputs
gpio_module.setup_pin_internal(PinDirection.INPUT, in_conf)
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/modules/gpio/__init__.py", line 208, in setup_pin_internal
return self.setup_pin(
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/modules/gpio/raspberrypi.py", line 56, in setup_pin
self.io.setup(pin, direction, pull_up_down=pullup, initial=initial_int)
RuntimeError: Cannot determine SOC peripheral base address
Traceback (most recent call last):
File " ", line 198, in _run_module_as_main
File " ", line 88, in _run_code
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/__main__.py", line 115, in
main()
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/__main__.py", line 107, in main
mqtt_gpio.run()
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/server.py", line 1448, in run
self._init_digital_inputs()
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/server.py", line 420, in _init_digital_inputs
gpio_module.setup_pin_internal(PinDirection.INPUT, in_conf)
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/modules/gpio/__init__.py", line 208, in setup_pin_internal
return self.setup_pin(
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/mqtt_io/modules/gpio/raspberrypi.py", line 56, in setup_pin
self.io.setup(pin, direction, pull_up_down=pullup, initial=initial_int)
RuntimeError: Cannot determine SOC peripheral base address
I can get it executing but i can´t get it working... There seem to be larger changes in how raspi 5 handles ios.
Found these topics helpful:
https://rpi-lgpio.readthedocs.io/en/release-0.4/index.html
This was the first puzzle piece.
And then i was forced to change within mqtt_io/modules/gpio/raspberrypi.py
// self.io.setup(pin, direction, pull_up_down=pullup, initial=initial_int) // remove the "initial=initial_int"
self.io.setup(pin, direction, pull_up_down=pullup)
This leads at least to getting it executed but it does not really function
I get no input values, i cannot control outputs...
Giving up with raspi5 on this.
from mqtt-io.
Related Issues (20)
- Crash using gpiod HOT 1
- Release version 2.3.0
- New version not working HOT 12
- Wont Connect to MQTT Broker and getting error in log from python script HOT 2
- DHT22 Adafruit_DHT problem HOT 3
- MCP23017 module not starting in mqtt-io Add-on HOT 1
- Crash on startup HOT 6
- Request support for Orange Pi CM4
- Incompatibility Python typing-extensions HOT 1
- adxl345 Module outdated and does not install HOT 1
- MQTT does not reconnect on authentication failure
- docker not buildable due to "Package docutils (0.21.post1) not found."
- Add support for HTU21d
- Adafruit_DHT (DHT22, ...) package is deprecated on Raspberry Pi HOT 5
- mqtt_io/modules/sensor/bmp085.py:51:0: C0305: Trailing newlines (trailing-newlines)
- Generate Documentatio not working - blocks release
- Incompatible constraints in requirements of mqtt-io (2.4.3)
- AttributeError: module 'paho.mqtt.client' has no attribute 'WebsocketWrapper' HOT 1
- !!Important - Publish to PyPI does not work HOT 2
- config not found - new install via addons in home assistant HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mqtt-io.