moodlite

moodlite => moodlite Software => Topic started by: mar_robHD on April 08, 2019, 11:57:23 PM

Title: Select one color for moodlite panels
Post by: mar_robHD on April 08, 2019, 11:57:23 PM
Any way to set a color for all moodlite panels? If I set a led color like 207d77 it wont be replaced with a effect :<
Thanks :)
Title: Re: Select one color for moodlite panels
Post by: shiryou on April 09, 2019, 07:40:49 AM
You have to choose an effect called fixed pattern and a color on the color selector

Title: Re: Select one color for moodlite panels
Post by: mar_robHD on April 09, 2019, 05:53:36 PM
Thanks! How can I configure the ntp server? I get this errors:
Code: [Select]
No packet yet
pool.ntp.org
94.16.115.123
--- sendNTPpacket - Start ---
--- sendNTPpacket - End ---
Thanks for help
Title: Re: Select one color for moodlite panels
Post by: shiryou on April 09, 2019, 07:13:38 PM
try to put the ntp url on the server addres field, and after you save it, change the NTP_ON variable to true on the firmware. It should work with that.
Title: Re: Select one color for moodlite panels
Post by: mar_robHD on April 09, 2019, 10:47:55 PM
I have that already. If I click on save i cant connect to the panel and must use eeprom reset. (https://i.imgur.com/GlhmSz8.png)

Code: [Select]
WS data
WS text data
--- handleWSMsg - Start ---
5:saveLedsSettings:1
--- updateValue - Start ---
saveLedsSettings: 1
--- updateValue - End ---
--- handleWSMsg - End ---
WS data
WS text data
--- handleWSMsg - Start ---
5:restart:1
--- updateValue - Start ---
restart: 1
99
--- updateValue - End ---
--- handleWSMsg - End ---
--- mqttConnect - Start ---
Attempting MQTT connection...
failed, rc=-2 try again in 3 seconds
?[08])[08]

--- initEEPROMData - Start ---
Hostname loaded from memory.
Wifi Hostname: Moodlite
Wifi ssid: FRITZ!Box 6490 Cable
Wifi password: SECRET
Manual Display On: 1
Automatic Display On: 0
Display On: 0
Display Off: 0
Pir sensor enabled: 0
Nr. of LEDs: 45
Nr. of LEDs per corner: 3
Brightness: 20
Speed: 50
Pattern: 0
Pattern color: 0
LED color: FFFFFF
NTP Server: pool.ntp.org
MQTT Hostname: 192.168.178.56
MQTT port: 1883
MQTT User name: SECRET
MQTT User password: SECRET
MQTT Client ID: moodlite_dev
--- initEEPROMData - End ---
--- initWiFi - Start ---
Connecting to Wifi. Please wait.
Wifi status: 3
Wifi network started succesfully.
--- initWiFi - End ---
--- ntpCheckServer - Start ---
pool.ntp.org
(IP unset)
--- sendNTPpacket - Start ---
--- sendNTPpacket - End ---
No packet yet
pool.ntp.org
136.243.70.198
--- sendNTPpacket - Start ---
--- sendNTPpacket - End ---
No packet yet
pool.ntp.org
136.243.70.198
--- sendNTPpacket - Start ---
--- sendNTPpacket - End ---
No packet yet
pool.ntp.org
136.243.70.198
--- sendNTPpacket - Start ---
--- sendNTPpacket - End ---
No packet yet
pool.ntp.org
136.243.70.198
--- sendNTPpacket - Start ---
--- sendNTPpacket - End ---
No packet yet
pool.ntp.org
136.243.70.198
--- sendNTPpacket - Start ---
--- sendNTPpacket - End ---
No packet yet
pool.ntp.org
136.243.70.198
--- sendNTPpacket - Start ---
--- sendNTPpacket - End ---

moodlite.ino:
https://hastebin.com/eqadegawac.m (https://hastebin.com/eqadegawac.m)

Thanks for help

~Marlon