@felmue Finally got it working correctly. In addition to your code, I initialised the Pahub, and then changed the dip switch to 0x71. Additional units work fine when assigned to 0x71.
Thanks for the help!
Posts made by Boomvalt
-
RE: PaHub v2.1 Doesn't recognise ENV III Unit
-
RE: PaHub v2.1 Doesn't recognise ENV III Unit
@felmue I followed the instructions, and am getting this result"
Traceback (most recent call last):
File "<stdin>", line 21, in <module>
File "<stdin>", line 15, in setup
File "unit/env.py", line 41, in init
File "driver/qmp6988.py", line 99, in init
File "unit/pahub.py", line 100, in readfrom_mem
File "unit/pahub.py", line 37, in select_channel
OSError: [Errno 19] ENODEVHere is the relevant code
-
PaHub v2.1 Doesn't recognise ENV III Unit
Having difficulty with getting my ENV III Unit recognised. Setup below:
UIFlow2.0 AtomS3R v2.2.8
PaHub v2.1 - DIP switches on factory setting.
ENVIII UnitThe ENV III works fine without the hub. but will not work in any assigned port, whether on it's own, or with other units.
Other I2C units work as expected. Only the ENV III has this problem.
All channels tried.Has anyone else had this happen?
Thanks in advance for any help. -
RE: Strange program running in after installing UIflow2 on factory set new AtomS3 Lite
@ajb2k3 There was no previous firmware that I installed. This was an out-of-the-box installation. I downloaded the latest update - I think 2.2.7 - and that's when the problem occurred.
Also, when I went to press burn, there was no opportunity to erase before burning. -
Strange program running in after installing UIflow2 on factory set new AtomS3 Lite
Moved from General
Experienced a strange event while using my ATOM S3 Lite for the first time.
MacOS
M5Burner was already running when I attached the device.
Downloaded the latest uiflow2 dated 29-05-2025
Configured, and started burn, which ran quickly, without the usual bind request.
Started a new project.
Connected, but was unable to Run or Load.
Process running in terminal installed itself as something suggesting a BT Beacon, and established
a WiFi AP on a 192.168.4.1 IP. It also appeared to be transferring data.Unfortunately I don't have a copy of the output.
I restarted M5 Burner, and a new update from the same date was available. Burning this version solved the problem.
Does anyone know what happened here?
-
RE: EZ Data dissapered from UIflow2
@ajb2k3 The point of EZData is that it stores data in a cloud, making it accessible from anywhere in the world. Also, you can set up an mqtt server on a €30 Pi Nano, a NAS, or pretty much any other computer with a network connection.
-
RE: Weighing plate accessory for Scales Unit
@ajb2k3 Thanks for the suggestion, but I already looked at that, and decided not to get it, as it's EOL and comes as a kit with a module I don't need.
The plate used in the video is perfect. -
RE: Help
@I_am_Exiled When I get situations lie that I just use M5 Burner to erase and start over
-
Weighing plate accessory for Scales Unit
The Scales Unit video shows it mounted with a perspex weighing plate. The plate would make a great accessory, or include it in a kit.
-
RE: Add housing for all your sensors and MPUs to be used in outdoor environment
@mgrouch A robust version, or at least a waterproof cover for the Cardputer would be awesome!
-
RE: Examples of 'Lists'
@kuriko There are no examples of Lists to be found there. Which is why I'm asking here.
-
RE: Problem with Lists over ESP-now in Blocky
@nabstar Did you ever find a solution for this? I’m having a similar problem
-
Examples of 'Lists'
Hi,
I've been trying to use the Lists utility to handle incoming ESP-NOW data. However, I can't find the documentation or examples. Does anyone know where I can find any? -
RE: M5Burner does not work in MacOX 12.3.
Same problem here. Program become non-responsive, requires Force Quit.
-
PaHUB + ENVIII pressure reading issue
Using an Atom Matrix with a PaHUB, a TVOC/eCO2 unit and an ENVIII gives a strange pressure result.
The pressure value reads about 5 times the actual pressure level. This is the same whether the ENV is solo, or the other sensor is connected. Other readings seem to be working as expected,
When the ENVIII is connected on its own the pressure readings are as expected.
from m5stack import *
from m5ui import *
from uiflow import *
import wifiCfg
from m5mqtt import M5mqtt
import time
import unitrgb.set_screen([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0xFFFFFF,0,0,0,0])
tvoc_2 = unit.get(unit.TVOC, unit.PAHUB1)
pahub_0 = unit.get(unit.PAHUB, unit.PORTA)
env3_0 = unit.get(unit.ENV3, unit.PAHUB0)tempdata = None
humdata = None
pressdata = None
iapbase = None
tvoc = None
basetvoc = None
co2 = None
baseco2 = None
h2 = None
eth = NonewifiCfg.doConnect('', '')
m5mqtt = M5mqtt('atomenv', '192.168.178.14', 1883, '', '', 600)
m5mqtt.start()
tvoc_2.set_iaq_baseline(35187, 35502)
while True:
tempdata = env3_0.temperature
humdata = env3_0.humidity
pressdata = env3_0.pressure
m5mqtt.publish(str('temperature'),str(tempdata))
m5mqtt.publish(str('humidity'),str(humdata))
m5mqtt.publish(str('pressure'),str(pressdata))
wait(2)
iapbase = tvoc_2.get_iaq_baseline()
tvoc = tvoc_2.TVOC
basetvoc = tvoc_2.baseline_TVOC
co2 = tvoc_2.eCO2
baseco2 = tvoc_2.baseline_eCO2
h2 = tvoc_2.H2
eth = tvoc_2.Ethanol
m5mqtt.publish(str('IAPbaseline'),str(iapbase))
m5mqtt.publish(str('TVOCnow'),str(tvoc))
m5mqtt.publish(str('TVOCbase'),str(basetvoc))
m5mqtt.publish(str('CO2'),str(co2))
m5mqtt.publish(str('CO2base'),str(baseco2))
m5mqtt.publish(str('H2'),str(h2))
m5mqtt.publish(str('ethanol'),str(eth))
wait_ms(2)