Search found 4 matches

by klirik
Wednesday 12 December 2018 4:28
Forum: Zigbee
Topic: Xiaomi Gateway custom MP3
Replies: 10
Views: 10530

Re: Xiaomi Gateway custom MP3

As an example: php miio-cli.php --ip 192.168.1.123 --token 3XXXXXXXXXXXXXXXXXXXXXXXXXXXXX22 --sendcmd '{"id":1,"method":"get_music_free_space","params":[]}’ Actually I've just wrapped all this long thing into a 1-line script which takes the command and add all this long stuff before it, like #!/bin/b ...
by klirik
Tuesday 17 July 2018 15:42
Forum: Z-Wave
Topic: Refreshing ZWave XML config with current manufacturers/devices
Replies: 4
Views: 1368

Re: Refreshing ZWave XML config with current manufacturers/devices

Try to include again as if it were 'new' (but don't exclude before it).
Controller will find existing device (id will not change) and initiate the config.
by klirik
Friday 13 July 2018 7:23
Forum: Zigbee
Topic: Xiaomi Gateway custom MP3
Replies: 10
Views: 10530

Re: Xiaomi Gateway custom MP3

Need miio (any flavour - php-miio, python-miio, etc.) and available gateway token and IP (token you can look in mihome, at page where you switch on developer's mode). 1. Convert the source mp3 into aac for gateway: ffmpeg -i 18Track.mp3 -b:a 64k tr18a.aac 2. Place converted file into place available ...
by klirik
Wednesday 11 July 2018 8:19
Forum: Zigbee
Topic: Xiaomi Gateway custom MP3
Replies: 10
Views: 10530

Re: Xiaomi Gateway custom MP3

Actually it is not mp3, but aac
(have tried mp3 directly, gateway doesn't play it)
64k aac is ok.

(I believe miHome makes conversion via xiaomi's cloud when accept mp3 in application, but I've tried directly uploaded file)