Coder Social home page Coder Social logo

Comments (10)

Breina avatar Breina commented on July 22, 2024

Is it possible that you configured it as a Link Gateway instead of Panel Server during the setup?

from powertaggateway.

ke-bo80 avatar ke-bo80 commented on July 22, 2024

Everything is possible, but I've deleted everything and tried again. However, I don't get prompted at any point to choose between Link Gateway or Panel Server. It automatically detects my panel server. But got the same result, no values."image

from powertaggateway.

Breina avatar Breina commented on July 22, 2024

Can you please check if the logs say anything?

Also which version are on currently on?

from powertaggateway.

ke-bo80 avatar ke-bo80 commented on July 22, 2024

I'm on EcoStruxure PowerTag Link Gateway v. 0.2.1.
Home Assistant Core 2024.3.0 -
Supervisor 2024.02.1 -
Operating system 12.0.

It seems to be the same issue as Issue #15, I just have a Panel Server 600.
I have 2 errors in my log. Perhaps they mean something to you?

Logger: homeassistant.components.sensor
Kilde: helpers/entity_platform.py:350
integration: Sensor (dokumentation, problemer)
Første forekomst: 7. marts 2024 kl. 22.08.47 (1 forekomster)
Senest logget: 7. marts 2024 kl. 22.08.47

Error while setting up powertag_gateway platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/powertag_gateway/sensor.py", line 62, in async_setup_entry
PowerTagPowerFactor(client, modbus_address, tag_device),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powertag_gateway/sensor.py", line 606, in init
if is_r(product_type):
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powertag_gateway/entity_base.py", line 111, in is_r
feature_class = [fc for fc in FeatureClass if product_type in fc.value][0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^

IndexError: list index out of rangeLogger: homeassistant.components.button
Kilde: helpers/entity_platform.py:350
integration: Knap (dokumentation, problemer)
Første forekomst: 7. marts 2024 kl. 22.08.47 (1 forekomster)
Senest logget: 7. marts 2024 kl. 22.08.47

Error while setting up powertag_gateway platform for button
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 350, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/powertag_gateway/button.py", line 55, in async_setup_entry
class_r = is_r(product_type)
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/powertag_gateway/entity_base.py", line 111, in is_r
feature_class = [fc for fc in FeatureClass if product_type in fc.value][0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

from powertaggateway.

Breina avatar Breina commented on July 22, 2024

Can you please upgrade to v0.2.2-alpha12 (you'll need to enable beta) and check the logs? I'm particularly interested in the logs right before it crashes.

from powertaggateway.

ke-bo80 avatar ke-bo80 commented on July 22, 2024

I have now updated to 0.2.2-alpha12 and it has found the panel server, but now there is no power tag. Here is a log error.

Logger: root
Kilde: custom_components/powertag_gateway/schneider_modbus.py:554
integration: PowerTag Link Gateway (dokumentation, problemer)
Første forekomst: 14.30.47 (3 forekomster)
Senest logget: 14.30.47

Unknown product type: 17210

from powertaggateway.

Breina avatar Breina commented on July 22, 2024

Ah I see. That's an undocumented product type code.

image

Can you tell me the model / commercial reference of that wireless device please?

from powertaggateway.

ke-bo80 avatar ke-bo80 commented on July 22, 2024

it is A9MEM1560 and A9MEM1570

from powertaggateway.

Breina avatar Breina commented on July 22, 2024

Yeah that was stupid of me. Sorry about that!

image

Fixed in 0.2.2. Please verify.

from powertaggateway.

ke-bo80 avatar ke-bo80 commented on July 22, 2024

It works.
Thank you so much for your help, it's really awesome

from powertaggateway.

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.