Comments (11)
Thanks for your report!
Just provided a fix - please test.
from espuino.
nope - sorry.
The deactivation is not published via mqtt.
The log also does not also indicate the fix:
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: EOT]
Sleep-Timer: Nach dem Ende des laufenden Tracks.
ws[/ws][1] text-message[24]: ping
RSSI: -75 dBm
MQTT: Bin noch online.
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: 0]
Sleep-Timer ist bereits deaktiviert.
from espuino.
also the device went into deep sleep mode
ESP-IDF-version (major): 3
ESP-IDF-version (minor): 3
Software-revision: 20211128-2
from espuino.
Just reviewed the code yesterday and discovered the problem. I'm looking forward to fix it this evening.
from espuino.
2nd attempt :-)
Please test.
from espuino.
Hi,
seems to work:
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: EOP]
Sleep-Timer: Nach dem letzten Track der Playlist.
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: 0]
Sleep-Timer wurde deaktiviert.
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: EOT]
Sleep-Timer: Nach dem Ende des laufenden Tracks.
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: 0]
Sleep-Timer wurde deaktiviert.
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: EO5T]
Sleep Timer: Nach Ende des Titels oder, wenn früher, Ende der Playlist
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: 0]
Sleep-Timer wurde deaktiviert.
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: 1]
LEDs wurden auf Nachtmodus gedimmt.
Modifikator: Sleep-Timer per RFID aktiviert (2 Stunden).
Sleep-Timer gesetzt auf: 1 Minute(n)
MQTT-Nachricht empfangen: [Topic: Cmnd/ESPuino/SleepTimer] [Command: 0]
Sleep-Timer wurde deaktiviert.
Also the commands are correctly published via MQTT! Well done!
However, I guess there is still an inconsistent behavior:
- While SleepTimer 1 Min reduces the brightness of the LEDs, the other commands don't.
- The deactivation of the SleepTimer should brighten up the LED, shouldn't it?
Thanks for your work so far!
from espuino.
Done. By doing so I also discovered there was no dimming enabled at EOP, EOT and EO5T.
Fixed this inline.
Please test.
from espuino.
Positiv first:
EOT EO5T EOP decrease the lights, disabling sleep mode increases the light. So far so good.
However, there is no MQTT publish of the new brightness level. Could you observe please?
Thanks!
from espuino.
Tried it again :-)
from espuino.
Almost. :D
The following scenario does not work:
- Play song with Brightness 16
- configure EOT, EO5T or something else
- de- or increase Brightness
- deactivate sleep timer --> Issue: brightness resets to 16 and not to the value change in between.
from espuino.
Finally fixed it after taking almost forever 😂.
from espuino.
Related Issues (20)
- USE_LAST_VOLUME_AFTER_REBOOT not working properly HOT 4
- Kicad files missing
- Enable FTP via Web UI HOT 1
- HTMLmanagement_EN not containing coverimage HOT 2
- explorerHandleFileStorageTask never stopping when upload aborted
- Battery Visualization while Charging HOT 1
- crash on reading empty "playlistcache" + bugfix HOT 1
- Increase readability + Refactoring HOT 12
- Sporadic Artifacts in WS2812 LEDs HOT 5
- Bug: Seek / jump backwards on mp3 not working HOT 1
- Bug: Audio for CMD_TELL_IP_ADDRESS disturbed HOT 3
- Crash when mashing button and reading tag HOT 1
- RC522 does not process any rfid-codes HOT 2
- Critical Voltage in Web-Interface HOT 3
- Warnings if MQTT is not enabled HOT 1
- Remove convertAsciiToUtf8() HOT 4
- Compile Error - PackageException ArduinoJson 6.21.3 HOT 1
- API liefert nur RFID-ID als String statt vollständiger JSON-Antwort HOT 1
- Software build (tag 2.2) is broken when NEOPIXEL_ENABLE is not set HOT 1
- Inconsistency in API definition 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 espuino.