Git Product home page Git Product logo

Comments (6)

ollo69 avatar ollo69 commented on July 22, 2024

Can you provide more info? How is your configuration? There are some information inside configuration.yaml?
Looking at the error it seems that MAC address is not correctly provided, but I change nothing about this in last version. If you rollback to 0.3.5, the integration still work?
Eventully are you able to enable and provide debug log?

from ha-samsungtv-smart.

hydazz avatar hydazz commented on July 22, 2024

there is nothing in my configuration.yaml to do with this integration. I setup using the integration in the webui and you can’t specify the MAC address. If I change nothing and simply reinstall backwards to 0.3.5 this issue does not happen. Upgrading back past 0.3.5 without changing any configurations it goes back to incorrect MAC address format. Not incorrect MAC address. Maybe something happened and it was rewritten as XX-XX-XX-XX instead of XX:XX:XX:XX or similar but I’m not sure. But this is a wake on lan error. It should not stop the TV information from updating if I were to turn it on with other means. Unless WOL is used to see if the tv is on. Is there any way to manually change the MAC address?

from ha-samsungtv-smart.

hydazz avatar hydazz commented on July 22, 2024

I did some looking around in the core.config_entries file and the TV that's having this problem has a mac address of "none" which I assume is why it's invalid.
FYI I did reinstall HACS, and this integration, and I believe it still failed to pull a mac address
Heres a snipped of the code:

            {
                "connection_class": "cloud_poll",
                "data": {
                    "api_key": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "device_id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "device_model": "QA65Q7FAM",
                    "device_name": "[TV] Samsung Q7 Series (65)",
                    "device_os": "Tizen",
                    "host": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "mac": "none",
                    "name": "Living Room TV",
                    "port": 8002
                },
                "domain": "samsungtv_smart",
                "entry_id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                "options": {
                    "app_load_method": 3,
                    "power_on_delay": 30.0,
                    "use_st_channel_info": true,
                    "use_st_status_info": true
                },
                "source": "user",
                "system_options": {
                    "disable_new_entities": false
                },
                "title": "Living Room TV (SmartThings)",
                "unique_id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                "version": 1
            },
            {
                "connection_class": "cloud_poll",
                "data": {
                    "api_key": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "device_id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "device_model": "UA43RU7100WXXY",
                    "device_name": "[TV] Samsung 7 Series (43)",
                    "device_os": "Tizen",
                    "host": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                    "mac": "XX:XX:XX:XX:XX:XX",
                    "name": "Master Bedroom TV",
                    "port": 8002
                },
                "domain": "samsungtv_smart",
                "entry_id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                "options": {},
                "source": "user",
                "system_options": {
                    "disable_new_entities": false
                },
                "title": "Master Bedroom TV (SmartThings)",
                "unique_id": "xxxxxxxxxxxxxxxxxxxxxxxxx",
                "version": 1
            }

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

Can you try open in a browser this address: "http://[your-tv-ip]:8001/api/v2/"
Then let me know the information that you receive back, eventually post it here masking sensible information

from ha-samsungtv-smart.

hydazz avatar hydazz commented on July 22, 2024

Heres the output:

{"device":{"FrameTVSupport":"false","GamePadSupport":"true","ImeSyncedSupport":"true","OS":"Tizen","TokenAuthSupport":"true","VoiceSupport":"true","countryCode":"AU","description":"Samsung DTV RCR","developerIP":"0.0.0.0","developerMode":"0","duid":"uuid:<removed>","firmwareVersion":"Unknown","id":"uuid:<removed>","ip":"<removed>","model":"17_KANTM_UHD","modelName":"QA65Q7FAM","name":"[TV] Samsung Q7 Series (65)","networkType":"none","resolution":"3840x2160","smartHubAgreement":"true","type":"Samsung SmartTV","udn":"uuid:<removed>","wifiMac":"none"},"id":"uuid:<removed>","isSupport":"{\"DMP_DRM_PLAYREADY\":\"false\",\"DMP_DRM_WIDEVINE\":\"false\",\"DMP_available\":\"true\",\"EDEN_available\":\"true\",\"FrameTVSupport\":\"false\",\"ImeSyncedSupport\":\"true\",\"TokenAuthSupport\":\"true\",\"remote_available\":\"true\",\"remote_fourDirections\":\"true\",\"remote_touchPad\":\"true\",\"remote_voiceControl\":\"true\"}\n","name":"[TV] Samsung Q7 Series (65)","remote":"1.0","type":"Samsung SmartTV","uri":"http://<removed>:8001/api/v2/","version":"2.0.25"}

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on July 22, 2024

Ok, TV is not reporting the info.
The only option is to force the correct value adding this information in configuration.yaml as explained in readme. You need only to specify ip-address and mac, all other info remain unchanged, like this:

samsungtv_smart:
  - host: <YOUR TV IP ADDRESS>
    mac: <YOUR TV MAC>

from ha-samsungtv-smart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.