I’m not sure if this is a massive amount of work, or how to look at it, or if it is of interest? Since I’m apparently the first one to post about this, I’m guessing not many people own a Canvas or would appreciate support. But the option for me to toggle on/off and set certain pictures through Home Assistant would be great.
The “set_backlight” command is using a template to set the backlight at the value of “input_number.meural_canvas_backlight” which you define by adding this
With all that added to the configuration.yaml I’ve configured the ui so that when you tap on the backlight slider it sets the backlight to the desired value
Thanks for this! I added this as a package and it works for me.
I’m curious where the REST api is documented? The link at the top of the thread seems to be about their online REST API, not the local device’s - atl east, I couldn’t find the methods you’re using.
For example, I’d like to be able to have homeassistant turn off and on based on a timer or motion detection. Do you have a link to the device API?
Regarding the rest commands I went to the meural remote page and used the network tab (under inspect) in chrome to discover the rest commands to the remote.
You can use those rest commands in HA for automation once you’ve defined them in the config file.
Suspend / resume for off / on
I’ve been working on a Meural HA integration for the past few weeks, having purchased one last month. I’m not actually a dev, so there’s probably a lot in there that can be improved, but it’s been working pretty well for my device so far:
I’m continuing work on my Meural integration, so if you’ve tried it out before, it’s worth updating to new code. I don’t really have a version release system because this is just me experimenting as I go, but I’m trying to keep the master stable and all my really gory code in separate branches.
For an idea of what it looks like, my integration sets your Canvas up as a media player. This way all regular media player services work as you’d expect - you can turn the Canvas on or off, pause and play, go to previous/next image, change playlists and set shuffle. It will retrieve artwork thumbnail, artwork title and artist name to display in the Media Control card. Looks like this in Lovelace:
There are also some service calls registered under the meural.xxx domain that will let you set brightness, reset the brightness based on current ambient light, set device options on the Meural server, or toggle display of the information card on your device.
Additionally, because it’s set up as a media player, it can be exposed to Google Assistant (as opposed to the Alexa-only support that Meural offers) via Nabu Casa or your manually configured setup. As a proof of concept I posted this video to Twitter:
Very neat! Would love to try it out. I’ve downloaded it, moved meural/ into custom_components/ and restarted. The log shows that it’s loading the component (and warning about it being experimental)
However, I don’t see anything in integrations when I search either netgear or meural.
The docs say this: “Log in with your Netgear account when setting up the integration.”
Can you be a bit more specific about what integration to add?
Ok, clearing the cache on the integrations helped and I was able to add a Meural integration. I gave username and password, it claims success.
No media_player.meural entity is getting created though. The meural. services exist. The log file only shows that it’s creating the domain and trying to create the entity:
update: you can now find it in HACS without having to add it as a custom repository. That should make it easy for anyone to install!
Not the person you asked it from, but the integration I built (and @thomasvs kindly contributed to) is now available to install via HACS as a custom repository.