@captheavenger hi i just used a wire (with special connectors) to directly connect the 3.3V pin to the other gpio pin. It was just for testing purpose. I bought a button but i need to solder wires to it.
Read the statement by Michael Teeuw here.
Posts made by Jimmy1502
-
RE: MMM-Buttons to change pages
-
RE: MMM-Buttons to change pages
@sdetweil Thx for your help! Kinda dumb mistake :(
But here for the rest. This code was working:
{ module: 'MMM-Buttons', config: { buttons: [ { pin: 26, name: "nextpagewithbutton", shortPress: { notification: "PAGE_INCREMENT", payload: 1, }, } ] } },
-
MMM-Buttons to change pages
Hi, i wanna use a physical button to change the pages. Is this right?
{ module: 'MMM-Buttons', config: { buttons: [ { pin: 26, name: "naechsteSeite", shortPress: { notification: "PAGE_INCREMENT", payload: 1, }, shortPress: undefined } ] } },
-
RE: Problem with MMM-ValuesByNotification and MMM-CommandToNotification
@wishmaster270
Hi! Ive been busy so i couldnt work on it. I removed the except block with five “#” for each line to make it a comment. And i get the following error. The line 32 has a syntax error “invalid syntax”. It is the print function printing json.dumps(result)) -
RE: Problem with MMM-ValuesByNotification and MMM-CommandToNotification
@wishmaster270 I can see the temps now. I increased the UpdateInterval in both ValuesByNotification and CommandToNotification and made them different. But i still got the “0.00” for both temperature and humidity. But i dont think it should be the UpdateInterval. Cause when i tested the DHT22 with a Microcontroller i was able to get values every second.
-
RE: Problem with MMM-ValuesByNotification and MMM-CommandToNotification
@sdetweil i have seen thath. But usually it shows me in the notifications that its not approved yet. But i couldnt find it. Thats why i was confused.
-
RE: Problem with MMM-ValuesByNotification and MMM-CommandToNotification
@wishmaster270 Oh i could sworn i just submitted sth. but i cant see it in the notifications…
Well for a second time:
It kinda works now. I tried using the script as u said manually and the dependencies (adafruit library) wasnt up to date. I got reasonable outputs.
But the ValuesByNotification Module isnt working as intended. I Just get a “NaN” (“not a number”?) for the temperature. The Humidity is kinda working giving me a reasonable output. But sometimes after a blink (i think a refresh?), the value changes to “0.00%rH” but after another one it is good again. -
RE: Problem with MMM-ValuesByNotification and MMM-CommandToNotification
@wishmaster270 this advice really helped. I tried using the script and saw, that the adafruit library was outdated. Updated it and now it kinda works. The script and my sensor is working. I get good reasonable values if i use the script manually. But the Mirror is kinda weird.
When i measured the temperature manually it said sth. around 21°C but ValuesByNotification outputs: “NaN” so Not a Number?
Humidity is kinda working. The majority of the time it is giving me a value of 47%rH but sometimes after the module is blinking (I think it is refreshing), it suddenly changes to 0.00%rH. But the next blink changes it back to a real value.Thx for your help
-
RE: Problem with MMM-ValuesByNotification and MMM-CommandToNotification
@wishmaster270 Hi! This explains the “Timeout” and i changed it. But now i just gut “0.00” as values. Do i have other mistakes in the code? Can i use all GPIO Pins or just special ones? I tried 18,21,25.
-
RE: Problem with MMM-ValuesByNotification and MMM-CommandToNotification
@sdetweil No sadly not, still getting “timeout”. I try to implement the codewrapper. Im new to this sry.