Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Carbon dioxide sensor CarbonDioxideLevel value and StatusActive not displayed #87

Closed
sonntam opened this issue Jan 6, 2019 · 5 comments

Comments

@sonntam
Copy link

sonntam commented Jan 6, 2019

I'm using Yahka Version 0.9.0 and I'm trying to display the data of carbon dioxide concentration sensor that outputs values in ppm units.

In Yahka I configured a sensor device with the "CarbonDioxideSensor" Service-Type.
The properties "CarbonDioxideLevel" and "CarbonDioxidePeakLevel" are assigned to ioBroker states. For testing I also tried to use the "const" output with a fixed value. But on the app the values are not shown (see screenshot below).

asset

The other part that does not work is the "StatusActive" property. It always shows as inactive on the iPhone. I tried using the constant values 1, true, "true".

The only thing that seems to work is the "CarbonDioxideDetected" property. If I put a constant "1" there an alarm will go off on my iPhone.

@jensweigele
Copy link
Owner

Can you please post a screenshot of the configuration?

@sonntam
Copy link
Author

sonntam commented Jan 6, 2019

Sure, here you go:

This is the state in the object tree: mqtt.0.nodemcu.MH-Z19_Bedroom_634939.value
screenshot 2019-01-06 19 58 02

Additionally this is the object's raw data object:

{
  "from": "system.adapter.mqtt.0",
  "ts": 1546289459781,
  "common": {
    "name": "nodemcu/MH-Z19_Bedroom_634939/value",
    "role": "variable",
    "desc": "mqtt server variable",
    "type": "number",
    "write": true,
    "read": true
  },
  "native": {
    "topic": "nodemcu/MH-Z19_Bedroom_634939/value"
  },
  "acl": {
    "object": 1636,
    "owner": "system.user.admin",
    "ownerGroup": "system.group.administrator",
    "state": 1636
  },
  "_id": "mqtt.0.nodemcu.MH-Z19_Bedroom_634939.value",
  "type": "state"
}

And this is the yahka config:
screenshot 2019-01-06 20 02 00

@jensweigele
Copy link
Owner

Danke, Fehler liegt im Yahka-Adapter.
Ich nehm es mit auf die Liste.

@jensweigele
Copy link
Owner

Mit dem aktuellen Master sollte das Problem behoben sein.
Da ich einiges Umgestellt habe, wäre ich über Rückmeldungen, ob der Adapter an sich noch funktioniert dankbar!

@sonntam
Copy link
Author

sonntam commented Jan 21, 2019

Sorry für die späte Antwort - bin jetzt erst dazu gekommen, es auszuprobieren.

Jetzt klappt es. Danke - gute Arbeit! Die neuen Optionen beim Signalmapping sind prima!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants