Hi. Just want to say a big thank you for the effort you are putting in on this. I had two questions on how to setup a custom page. I’m looking to have a clock on top with 5 entities below. Is there an easy way to achieve this? Thanks in advance.
@mufidsyed try to use this here if u have version 1.7.0 or higher:
- page_type: components
components:
- type: text
position: [0, 0]
content: {{ now().strftime('%H:%M') }} #time
font: FIVE_PIX
color: white
- type: text
position: [0, 10]
content: text1{{':'}} {{ states("sensor.text1") }}
font: FIVE_PIX
color: white
- type: text
position: [0, 20]
content: content: text2{{':'}} {{ states("sensor.text2") }}
font: FIVE_PIX
color: white
and so on
I have the latest version and tried your code. Once I do that nothing comes up on the screen and the code seems to change when I go back to edit it.
- page_type: components
components:
- type: Time
position:
- 0
- 0
content:
"[object Object]": null
font: FIVE_PIX
color: white
- type: text
position:
- 0
- 10
content: text1{{':'}} {{ states("sensor.Play_time") }}
font: FIVE_PIX
color: white
- type: text
position:
- 0
- 20
content: text2{{':'}} {{ states("sensor.sleep_time") }}
font: FIVE_PIX
color: white
Sorry it Looks Like that now() doesnt work.
You can add thies lines in your configuration.yaml
platform: time_date
display_options:
'time'
'date'
'date_time'
'date_time_utc'
'date_time_iso'
'time_date'
'time_utc'
And then use for Time in content {{ sensor.time }}
No difference. Still the same issue wherein a new line is created with the below details.
content:
"[object Object]": null
Now I see the error. It says type time. But this type does not exist. You have to use Type Text
Alright, multiple issues there.
- First, there’s no such thing as a “Time” component type, as Gicko said. It should be text.
- Second, for good practice, you should always put templates in quotation marks (for example: “stuff”) so it forces it to be understood as a string. If not, HA might do weird stuff, like you see with the strange [object Object] thing. The line should therefore be:
content: "{{ states(sensor.time) }}"
or, with the strftime thing:
content: "{{ now().strftime('%H:%M') }}"
(quotation marks included)
Finally got it all working with the below code. thanks @PolishKrowa and @gickowtf for the pointers.
- page_type: components
components:
- type: text
position:
- 15
- 0
content: "{{ now().strftime('%-I:%M %p') }}"
font: GICKO
color: crimson
The project is fantastic!
If you accept a suggestion, I would like to give one which is the possibility of adding the transition interval for each page independently informed on the page itself and no longer a default value for all pages!
hey thanks for the compliments. i don’t think your idea is that bad and will definitely think about it
Guys already did some great things for this add-on so I’ve managed to achieve the same by using automation and service calls. You can check it here and see if it suits your needs…
Version 1.10.0 is online
We really have a lot of new features and have once again responded to all the wishes of our users. See for yourself
I have written a short tutorial on the subject.
pixoo-homeassistant/READMES/BasicsENG.md at 56511b1d1bc46c87259089eee4cd643b112e130e · gickowtf/pixoo-homeassistant · GitHub
Will this work with the new Pixioo 16?
I’m looking into if it’s possible to display weather and temperature from my sensors in Home Assistant on a Pixoo 64, and from my understanding this integration would enable it?
How does black pixels on the Pixoo 64 behave? Are they completely turned off or are they still omitting light? E.g. do you the see black pixels in a dark room?
hello, I just want to know if this integration will work on the Divoom Pixoo Max 32x32 or if the wifi connectivity on the 64 is a must