Commit Graph

9 Commits

Author SHA1 Message Date
c1fa1d5e57 Added basic WebSocket Functionality 2025-07-12 18:14:40 +03:00
516eeab751 Added basic Logger with 4 modes. 2025-01-26 18:02:39 +02:00
7dd6f81264 Added basic Scheduling Functionality
A JSON message can now be received on:
'vesper/DEV_ID/control/addSchedule"
Each message, must hold a "file" and "data".
The file is the month's name in 3 letter mode (eg jan, feb, mar)
The data is an entry for each day of the month.
Each day can be an array containing multiple items.
2025-01-26 14:02:15 +02:00
84534025f4 Added Separate Timings for each Relay
The setting is saved on a file in:
/settings/relayTimings.json

Then during bootup, it's read and restored. 
Settings can be set via MQTT command on Topic: 
vesoer/*dev-id*/control/settings/relayTimers
using a json format. 
{ "b1":50, b2...}
where b1 is Bell 1, b2 Bell 2, etc..
2025-01-21 11:42:23 +02:00
a33f626dde Added initial Melody Playback Ability
Now, controlled via MQTT a Playback of a melody can Start, Stop, Pause 
etc. 

Settings like speed, total duration, pauses etc can be set.
2025-01-19 21:15:07 +02:00
2cbbc8d591 Added Basic Melody-Handling Task and temp-task for testing 2025-01-12 19:54:19 +02:00
540d8a14fe Added Melody Struct & Ajusted MQTT Subs and Deserialization
A new Melody Struct was added containing the melody's main attributes.
The MQTT Topic Subscriptions were updated to a more proper format.
Also added DEV_ID that corresponds to the device's ID or Serial Number.
Chnaged the Deserialization function to actually adjust the MelodyStruct's attributes.
Added basic play/stop functionality.
2025-01-12 19:46:24 +02:00
30e708f048 Added Basic MQTT Support and JSON Deserialization 2024-12-29 13:04:23 +02:00
c523b59e90 Initiaze of Project Vesper 2024-12-26 19:29:09 +02:00