Thanks Robert @robi
The key was tp present the scripts as you showed in your post:
I did read the manual Itâs not very often I thought having the notify reply was a very good idea when testing so I left it like that.
Many thanks for you help and support, Kevin
P.S. I found your documentation/manual well written and easy to follow
Guys, is there a way to reboot the device from HA?
i tried this :
but i get :
2021-08-30 12:14:49 WARNING (SyncWorker_1) [custom_components.linkplay.media_player] Player media_player.luidspeker_buiten executed command: Reboot, result: Failed
also tried the HTT¨P API :
http://192.168.0.69/httpapi.asp?command=reboot
but get âunknown commandâ back
how can we initiate a reboot?
thnx
robi
August 30, 2021, 10:27am
30
Reboot functionality seems to be removed from the recent firmwares. It was not a real reboot anywayâŚ
Oh, thatâs too bad, i had to reboot my device this morning, for some reason it didnât popup anymore as available device in SpotifyâŚ
While other internet radio still worked and app tooâŚ
After reboot, it pop-up again in spotify
I am thinking of doing something this for each Arylic Device that I have. I already have spare relay contacts in my house so it is straightforward for me
For a reliable âpower cycle off/onâ you could use a relay module
[RelayModule]
There are plenty of Interface Choices too.
Wifi
RF 433 MHz
Hard wired to RPI, Arduino, etc. etc.
@robi Robert,
I have some problem to understand the instructions for common sources:-
Is the intention to have the "!include ⌠" instruction in âconfiguration.yamlâ or somewhere else ?
âlinkplay-radio-sources.yamlâ should be in main âconfigâ directory or âcustom_components/linkplayâ ?
Many thanks in advance, Kevin
offcourse, i can also use a smart wifi plug, but then again, extra hardware is needed
it should work with the API, the command is supported, but it doesnt work
1 Like
robi
August 31, 2021, 10:46am
35
Please, why do you put so many screenshots in the forum? You should instead copy the text and paste it here, then select it and apply the preformartted </>
code function. Not only it would look nicer, it would also save a lot of resources for everybody (less server capacity, less bandwidth for users with text only instead of pictures containing text). And it would allow others too to copy from the text.
linkplay-radio-sources.yaml
should be in the same directory where your yaml configuration is (the same directory where you have the yaml containing media_player
defining linkplay devices)
1 Like
Got it now Sorry new to forums
1 Like
Fabio,
Hopefully @zpl1025 Frank from Arylic can tell us if they are planning to reintroduce ârebootâ at some stage.
Regards, Kevin
zpl1025
September 9, 2021, 3:09am
38
Since you can send the passthrough commands in HA, you could try this one: MCU+PAS+RAKOIT:SYS:REBOOT&
Frank @zpl1025 What part of the system does this reboot ?
Should be the base board, I need to search in the codes for details anyway
1 Like
@robi This was a game changer. Great Work
So latest âFront Endâ on Home Assistant
Note all this control can be easily transported to Voice Control (Alexa & Google Assistant) via the Nabu Casa subscription
This is achieved with a mixture of âScriptsâ e.g.
"power_off_mini":
alias: power_off_mini
sequence:
- service: linkplay.command
data:
entity_id: media_player.075_mini
command: MCU+POW+OFF
"reboot_mini":
alias: reboot_mini
sequence:
- service: linkplay.command
data:
entity_id: media_player.075_mini
command: MCU+PAS+RAKOIT:SYS:REBOOT&
"mode_wifi_mini":
alias: mode_wifi_mini
sequence:
- service: linkplay.command
data:
entity_id: media_player.075_mini
command: MCU+PLM+000
"mode_bluetooth_mini":
alias: mode_bluetooth_mini
sequence:
- service: linkplay.command
data:
entity_id: media_player.075_mini
command: MCU+PLM+006
The Preset is achieved with a input_number Object:
075_mini_ps:
name: MINI Preset
min: 1
max: 10
step: 1
mode: box
And on change of PRESET value will run an âautomationâ:
# 075 MINI
- alias: "Preset MINI"
trigger:
platform: state
entity_id: input_number.075_mini_ps
action:
service: linkplay.command
data_template:
entity_id: media_player.075_mini
command: MCU+PAS+RAKOIT:PST:{{ states('input_number.075_mini_ps') | int }}&
Next Step :- Volume Control.
Thanks for your software @robi works a treat
it should reboot the whole device including the base board and the wifi module.
Beto113
December 20, 2021, 8:20pm
43
I know this is a somehow old topic, but the work here is amazing, I try to implement it in the following weeks.
1 Like
Hi @Beto113 Roberto,
Welcome to the Community. There is a lot of people doing interesting stuff here
If you run into any problems or need some help just post here.
Good Luck, Kevin
@robi Thank you for making great integration,
By the way, does this integration support A30, SA100 and M400?
Thank you.
robi
January 3, 2022, 8:32am
46
I donât know because I donât have such devices.