Comments (12)
Hello
Please enable component debug, in configuration.yaml with:
logger:
default: warn
logs:
custom_components.linkplay: debug
Restart HA, and check home-assistant.log after restart is finished + 1 minute.
Also please post the results of the following URLs on the old Up2Stream.
httpapi.asp?command=getStatusEx
httpapi.asp?command=getPlayerStatus
And post your linkplay config too.
from home-assistant-custom-components-linkplay.
@nagyrobi Thanks for your help here are infos requested ;) Hope you can find what's the problem ;)
I have added in HA config the logger parameters you indicated but didn't get more in logs than previously :/
Logger: custom_components.linkplay.media_player
Source: custom_components/linkplay/media_player.py:1853
Integration: Linkplay (documentation, issues)
First occurred: 18:26:03 (14 occurrences)
Last logged: 18:28:13
Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
http://192.168.1.46/httpapi.asp?command=getStatusEx
{ "language": "en_us", "ssid": "StreamSystem_E3BC", "hideSSID": "1", "SSIDStrategy": "2", "firmware": "4.2.7211", "build": "release", "project": "WF-100", "priv_prj": "WF-100", "Release": "20190711", "branch": "stable\/wiimu-4.2", "group": "0", "expired": "0", "internet": "0", "uuid": "FF31F09EFB6768E0D29B2C0A", "MAC": "00:22:6C:ED:E3:BC", "STA_MAC": "00:22:6C:ED:E3:BE", "CountryCode": "CN", "CountryRegion": "1", "date": "1970:01:01", "time": "00:00:26", "tz": "1.000000", "dst_enable": "1", "netstat": "1", "essid": "41747469717565205375642039", "apcli0": "192.168.1.46", "eth2": "0.0.0.0", "hardware": "A31", "VersionUpdate": "0", "NewVer": "0", "mcu_ver": "5", "mcu_ver_new": "0", "dsp_ver_new": "0", "ra0": "10.10.10.254", "temp_uuid": "AC0CF7FBAE1AE061", "cap1": "0x5200", "capability": "0x8a96a00", "languages": "0x6", "dsp_ver": "", "streams_all": "0x7ffffffe", "streams": "0x7f9833fe", "region": "unknown", "external": "0x0", "preset_key": "10", "plm_support": "0x0", "spotify_active": "0", "lbc_support": "0", "WifiChannel": "13", "RSSI": "0", "battery": "0", "battery_percent": "0", "securemode": "0", "ali_pid": "EDIFIER_ENTERTAINMENT_ATALK_MA1", "ali_uuid": "", "upnp_version": "1005", "upnp_uuid": "uuid:FF31F09E-FB67-68E0-D29B-2C0AFF31F09E", "uart_pass_port": "8899", "communication_port": "8819", "web_firmware_update_hide": "0", "web_login_result": "-1", "ignore_talkstart": "0", "silenceOTATime": "", "ignore_silenceOTATime": "1", "iheartradio_new": "1", "security": "https\/2.0", "security_version": "2.0", "privacy_mode": "0", "user1": "290:524", "user2": "1896:2097", "DeviceName": "Bathroom", "GroupName": "Bathroom" }
http://192.168.1.46/httpapi.asp?command=getPlayerStatus
{"type":"0","ch":"0","mode":"10","loop":"0","eq":"0","status":"play","curpos":"136140","offset_pts":"136140","totlen":"0","Title":"�V³+�V³+NT","Artist":"","Album":"","alarmflag":"0","plicount":"1","plicurr":"1","vol":"30","mute":"0","iuri":"687474703A2F2F7579657365652E7674756E65722E636F6D2F73657475706170702F7579657365652F6173702F66756E632F64796E616D4F442E6173703F65783435763D316631383662633539363331666438393037393963656233653663633866373331663138366263353936333166643839303739396365623365366363386637332669643D3132333732","uri":"687474703A2F2F7579657365652E7674756E65722E636F6D2F73657475706170702F7579657365652F6173702F66756E632F64796E616D4F442E6173703F65783435763D316631383662633539363331666438393037393963656233653663633866373331663138366263353936333166643839303739396365623365366363386637332669643D3132333732"}
I checked I added properly the logger code in HA config file and restarted it again but nothing more in logs than what posted already :(
For linkplay config what do you mean ? if you speak about Android App to setup the UpStream board I have just setup Wifi and name of player on it and that's it and checked if some fw updates were unable but nothing !
Let me know if you need anything else ;)
from home-assistant-custom-components-linkplay.
For linkplay config what do you mean
The configuration entries in home assistant.
As for the logs, please paste the full log from home-assistant.log
, not just the stripped log from the web interface. Open that file.
from home-assistant-custom-components-linkplay.
There's an issue with what the player returns at /httpapi.asp?command=getPlayerStatus
I see garbled characters at the Title
maybe that's the reason why it breaks.
Try playing something else.
from home-assistant-custom-components-linkplay.
The configuration entries in home assistant
(tried with multiroom_wifidirect both at true and false but no changes)
media_player:
- platform: linkplay
host: 192.168.1.46
name: SDB_HP
icecast_metadata: 'StationNameSongTitle'
multiroom_wifidirect: true
sources:
{
'https://lausannefm.ice.infomaniak.ch/lausannefm-high.mp3' : 'LFM 80''s',
'https://webradio0004.ice.infomaniak.ch/webradio0004-128.mp3' : 'LFM 90''s'
}
As for the logs, please paste the full log from
home-assistant.log
, not just the stripped log from the web interface. Open that file.
2021-01-10 19:00:31 WARNING (SyncWorker_7) [custom_components.linkplay.media_player] Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
2021-01-10 19:00:41 WARNING (SyncWorker_11) [custom_components.linkplay.media_player] Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
2021-01-10 19:00:51 WARNING (SyncWorker_6) [custom_components.linkplay.media_player] Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
2021-01-10 19:01:01 WARNING (SyncWorker_10) [custom_components.linkplay.media_player] Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
2021-01-10 19:01:11 WARNING (SyncWorker_14) [custom_components.linkplay.media_player] Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
2021-01-10 19:01:21 WARNING (SyncWorker_12) [custom_components.linkplay.media_player] Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
2021-01-10 19:01:31 WARNING (SyncWorker_16) [custom_components.linkplay.media_player] Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
2021-01-10 19:01:41 WARNING (SyncWorker_6) [custom_components.linkplay.media_player] Erroneous JSON during update player_status: media_player.sdb_hp, SDB_HP
Try playing something else.
Changed of radio stations and tried different ones but HA keeps complaining about the JSON and player stays unavalaible in HA :(
from home-assistant-custom-components-linkplay.
Try changing audio playback sources until you see something else in getPlayerStatus
than "Title":"�V³+�V³+NT"
because this is my first thought that may cause the issue. Plug in a USB stick with MP3s if the unit has a USB slot etc.
Why do you need multiroom_wifidirect: true
?
Any reset to factory defaults helps?
from home-assistant-custom-components-linkplay.
Try changing audio playback sources until you see something else in
getPlayerStatus
than"Title":"�V³+�V³+NT"
because this is my first thought that may cause the issue. Plug in a USB stick with MP3s if the unit has a USB slot etc.
Unhappy no other audio source avalaible on that tiny device out of network one :( I used the manufacturer app to play some random audio files of my phone and checked the status url of player and it contains always some weirdo characters in title/name... fields :( I guess it looks to be a bug in device firmware :/
Why do you need
multiroom_wifidirect: true
?
Good point ;) removed it !
Any reset to factory defaults helps?
Will do that and let you know if any changes ;)
from home-assistant-custom-components-linkplay.
If you open getPlayerStatus
in the browser, could you try switching the character encoding display of the page? In Firefox for example it's at the 3-lines menu > More > Text encoding. See if the weird characters turn into something more readable. If they do, please post what charcode fixes it.
from home-assistant-custom-components-linkplay.
I'm not sure how to change text encoding but I succeeded to get it in JSON format and there is for sure a problem in that firmware as there is a part of a string in the title that has no place there I think no ?
"{\"type\":\"0\",\"ch\":\"0\",\"mode\":\"10\",\"loop\":\"2\",\"eq\":\"0\",\"status\":\"play\",\"curpos\":\"13560\",\"offset_pts\":\"13560\",\"totlen\":\"28000\",\"Title\":\"\u0018\u0016Ü+\u0018\u0016Ü+ntrol/rendertransport1\",\"Artist\":\"\",\"Album\":\"\",\"alarmflag\":\"0\",\"plicount\":\"2\",\"plicurr\":\"1\",\"vol\":\"30\",\"mute\":\"0\",\"iuri\":\"687474703A2F2F3139322E3136382E312E3130323A393431372F617564696F2D6974656D2D313236\",\"uri\":\"687474703A2F2F3139322E3136382E312E3130323A393431372F617564696F2D6974656D2D313236\"}"
Side note I resetted the device but no changes :( I'm thinking to write at manufacturer about it...
from home-assistant-custom-components-linkplay.
Yes it definitely looks like a faulty device.
I do have 3 Arylic devices, none of them has this...
You could contact them, they have good support.
from home-assistant-custom-components-linkplay.
Yes it definitely looks like a faulty device.
I do have 3 Arylic devices, none of them has this...You could contact them, they have good support.
Yep will do and let you know result ;) My other device from them (the Amp version) is working fine with the plugin 👍
from home-assistant-custom-components-linkplay.
Sorry for late update but yep got great support from Arylic that pushed a specific fw update for my unit that solved the API issue and everything works great now ;)
Thanks for help
from home-assistant-custom-components-linkplay.
Related Issues (20)
- Not displaying the envelope when playing from DLNA server
- Joining multiroom group does not work, if host is a resolvable name HOT 2
- Muting the master of a multi-room group does not seem to work HOT 4
- Is there any way to power the device on/off? HOT 1
- Failure to setup integration if device is not turned on. HOT 3
- Unable to use tts HOT 1
- Up2stream becomes unavailabe HOT 3
- Group/Ungroup toggle inconsistent with 2 slaves
- Rakoit M50 unavailable HOT 5
- Example config doesn't pass checks on 2023.11.2 HOT 1
- led_off doesn't work for Arylics anymore HOT 2
- Using deprecated constants for supported features HOT 1
- Integration problems with Harman Kardon Allure HOT 1
- NameError when connection is lost via UPnP
- Updating linkplay media_player took longer than the scheduled update interval HOT 3
- Announcements/TTS: how to use the resume feature? HOT 2
- The integration is not working with 2024.5.0b0 HOT 8
- linkplay' calls async_register from a thread at custom_components/linkplay/__init__.py, line 171: hass.services.async_register HOT 2
- Add MTLS-support HOT 4
- Add command to Command service
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from home-assistant-custom-components-linkplay.