would using pahub be helpfull? to "hide" unit address behind hub address?
Posts made by robski
-
RE: Read SHT30 and SHT40 from ENVIII-HAT and ENVIV-UNIT at the same time
-
Float 32bit interpretation - best way in uiflow2?
I'm reading 2 registers (2 integers/ 4 bytes) via modbus from remote slave device,
those 2 registers represent float value of current.
what is the best way to interpret two variables in to 32bit float?
var1 =16843
var2 = 13003
expected float value var3 = 25.3998 -
RE: Webburner & Plus2
go to m5stack and download separate M5Burner v3 so you have full list of devices and firmwares covered
powodzenia
-
RE: M5Tough - RS-485 in Uiflow2
@felmue said in M5Tough - RS-485 in Uiflow2:
Hello @robski
you can use the blocks of the Modbus unit (with modified TX/RX pins) to control the internal Modbus interface.
Please see Play Zone example M5Tough_Internal_Modbus_ACSSR_UIFlow2.0.3.
Thanks
FelixOk, understand, add "virtual unit" and reconfigure pins for internal extension, thx.
-
RE: MQTT Daten eines Themas nach dem . kürzen
try to set variable in mqtt subscribe then use it in function
Versuchen Sie, eine Variable in mqtt subscribe zu setzen und sie dann in der Funktion zu verwenden
Eigentlich gibt es keinen Grund, sich zu entschuldigen, es ist eine Lernkurve, in Uiflow2 können Sie zur „Projektzone“ gehen und Beispielprojekte importieren ...
-
RE: MQTT Daten eines Themas nach dem . kürzen
@stacky4home said in MQTT Daten eines Themas nach dem . kürzen:
Jetzt ist mir aufgefallen dass bei höheren Werten in der Abfrage für die PV Leistung die Zahl passend angezeigt wird. Und das ohne jegliche Umwandlung!? Also wie in Grafik 1 konfiguriert. Wenn der Wert unter 3kW bzw. 3000 Watt sinkt, werden die vielen Nachkommastellen wieder angezeigt.
Jetzt frage ich noch die Spannung in V ab und hier kommt es auch zu diesen vielen Nachkommastellen. Siehe die Beispielfotos.Sie erstellen eine Variable für jedes Thema/jeden Sensorwert, setzen (verschieben) diesen Wert dann in eine Variable und können von dort aus mit Variablen arbeiten/rechnen, nicht mit rohen Themen/Sensorwerten
You create variable for every topic/sensor value, you then set (move) this value in to variable and from there you can operate/calculate on variable not on raw topic/sensor value
example:
-
RE: MQTT Daten eines Themas nach dem . kürzen
@stacky4home said in MQTT Daten eines Themas nach dem . kürzen:
Dann werden auf dem Display überhaupt keine Werte mehr angezeigt. Auch für die anderen 4 Themen die bisher schon funktioniert haben. Es kommt aber auch kein Fehler oder ähnliches.
Das wäre der Python Code dazu:Würden Sie darüber nachdenken, Themenwerte in Variablen einzugeben und vielleicht Berechnungen anhand von Variablen durchzuführen?
Would you consider to put topic values in to variables and do calculation on variables maybe?
-
RE: MQTT Daten eines Themas nach dem . kürzen
@stacky4home said in MQTT Daten eines Themas nach dem . kürzen:
Mit "Reduce x to 0 decimal places" habe ich auch schon herum probiert, aber da komme ich auch nicht klar bzw. passiert erst gar nichts. Oder es würde sogar funktionieren und ich bin nur zu blöd es korrekt einzuflechten.
Ich hoffe dass mir jemand helfen kann...
Danke und Grüße
Uliwürde „in int konvertieren“ helfen?
would "convert to int" help?
-
M5Tough - RS-485 in Uiflow2
Hi,
Is build in RS-485 in to M5Tough controller supported in uiflow2?
Can't see it in Hardware options. No Modbus blocks like when RS-485 module/unit added.
-
RE: I2C with Atom S3 and PoE Base W5500
@gerber said in I2C with Atom S3 and PoE Base W5500:
ATOMIC PoE Base W5500
ATOMIC PoE Base W5500 occupies PIN ports and uses SPI protocol from what I can see,
so groove port on atom light is still available (TypeC x 1, GROVE(I2C+I/0+UART) x 1)
-
RE: Login Problem on UIFlow2
I'm on windows and one account works for all Uiflow1, Uiflow2, M5Burner and this forum too. Can you try windows machine?
-
RE: M5StickC Plus 2 Official Arduino Samples Not Working (SOLVED)
does your stick loads ok with latest M5Burner firmware? Is user demo from M5Burner works? I can confirm that arduino M5stickCplus2 examples do work as had them in recently. Display, IR, Rtc, Battery, IMU, I've used Arduino 2.3.2, be sure you pick M5Stick Plus2
-
RE: M5StickC Plus2 - uiflow2 firmware burn issue - (waiting, checking device)
it worked on another machine, burned latest firmware ok.
-
RE: UiFlow 2.0 discuss(how-to, bug, feature request or sometings)
@waittherack said in UiFlow 2.0 discuss(how-to, bug, feature request or sometings):
Back to my problem, with a potential solution which i need help about ; My dad wondered if, instead of downloading the images inside the Core's memory, we could just use them from the SD card with a block "Execute mpy code", in which i type : "ImageTest.setImage("sd/AutresImages/Start.jpg")", which should set, theorically, Start.jpg as my image, since it's contained in the file "AutresImages" in the sd card, right ?
But it doesn't work. No errors or stuff, it just doesn't :/
Anyone has an idea ?check this re: size/name/ etc limits
-
RE: M5StickC Plus2 - uiflow2 firmware burn issue - (waiting, checking device)
@ajb2k3 said in M5StickC Plus2 - uiflow2 firmware burn issue - (waiting, checking device):
Switch the computer off then on again as something is blocking access to the com port
will try, but its bizarre as anything else i try works, so port is open for action
-
M5StickC Plus2 - uiflow2 firmware burn issue - (waiting, checking device)
I see below (waiting, checking device) for ages when trying to burn latest firmware or any of Uiflow2 firmwares
I can do erase, I can burn uiflow1 firmware, i can load code via Arduino from some reason its not happy to start firmware burn process.
Any pointers what to try? -
RE: M5Dial GPS UART
Uiflow 2 uart setup/init blocks are broken in some way,
best is use "execute my code" block with uart setup as per uiflow1see below thread
-
RE: Unable to read data from GNSS Module with Core 2
@fra222 said in Unable to read data from GNSS Module with Core 2:
@fra222 Thanks a lot again. It is working perfectly now with the 38 400 baudrate. The precision is impressing !
good to hear that you have it sorted now @FRA222
-
RE: Unable to read data from GNSS Module with Core 2
have you tried diff baudrates for GNSS like 9600 or 38400 which is NEO chip default as per docs