Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change dateformat shown on screen ? #48

Closed
TokTias opened this issue Sep 21, 2022 · 3 comments
Closed

Change dateformat shown on screen ? #48

TokTias opened this issue Sep 21, 2022 · 3 comments

Comments

@TokTias
Copy link

TokTias commented Sep 21, 2022

Hi !
Is there any possibility to change the date format (currently set to the US-standard MM/DD + weekday), preferably definable via a Console command ? (Personally, I am looking to get it to YYYY-MM-DD + the weekday abbreviation.)

Cheers !
/T

@joBr99
Copy link
Collaborator

joBr99 commented Sep 21, 2022

No, the firmware is getting the date via a json command, so there is no way to change it with the stock display firmware.

https://github.com/blakadder/nspanel/blob/main/nspanel.be#L155


Shameless plug for my HMI Project, you can display whatever date format you want with it, if you are on HomeAssistant, ioBroker (or ip-symcon) there are Integrations available.

If you are using some different automation system and you have some scripting/programming skills and you want to integrate it with your system, feel free to ask and I will guide you how to get stared with the message protocol the panel is expecting with my project.

(Acually there was also somebody who build something for domoticz, but I don't think that it is public, you might want to reach out to him in case you are using domoticz)

@TokTias
Copy link
Author

TokTias commented Sep 21, 2022

Hi !
Thanks for your fast reply. I use domoticz and I do have C/C++ and scripting experience for a few decades. I have also been coding for the Nextion screens so I was perhaps just hoping for a simple way to write directly to the Text label showing the date from the ESP-code, perhaps just set up a timer that sends the year/month/day and weekday from the RTC to the Nextion Txt label.
(I'll see if I can find the person you mentioned that made something for domoticz.)

@joBr99
Copy link
Collaborator

joBr99 commented Sep 21, 2022

See these two for the domoticz stuff:

https://github.com/joBr99/nspanel-lovelace-ui/issues?q=domoticz

I summerizesed the first part of getting something to work with my HMI here: joBr99/nspanel-lovelace-ui#436 (comment)

Hit me up on Unofficial Nextion Discord, I guess that would be easier. https://discord.gg/98V7qp4

@TokTias TokTias closed this as not planned Won't fix, can't repro, duplicate, stale Dec 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants