Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
A long waited Google assistant integration is finally here.
Our Action was certified last week, Google Home app is in our store and ready to go. The configuration process is nearly the same as with Alexa only you must use new cloud. RC2 2021 or newer firmware only.
https://assistant.google.com/services/a/...0?hl=en-GB
Configuration:
1. Install and configure Google Home app on Logic Machine.
2. Visit https://remote.logicmachine.net to register a cloud account
3. Create a network and copy the connection string.
4. Open LogicMachine Cloud app, enable connection, paste the string and save.
5. Sync each time change was made in Google Home app in Logic Machine.
6. Link the LogicMachine Action in the Google Home App, and log in with the same credentials of https://remote.logicmachine.net
------------------------------
Ctrl+F5
Posts: 41
Threads: 4
Joined: Jan 2020
Reputation:
4
Great work! I've quickly tested and found few issues that should be easy to fix:
1) For the curtain object, move direction is reversed. I.e. if i say "close curtain", it sends Open command to the Open/Close object in LM. Should be vice versa. Also i don't know if it's home assistant fault or not, but Curtain does not have graphics representation in google home, only generic icon which opens object properties.
2) I couldn't set up thermostat – selection filters what it seems to be 1 byte objects, but skips HVAC Mode (which are also 1 byte, but separate type). Without this object thermostat is inactive in Google Home. On the side note, i don't believe a lot of knx thermostats supports Off mode setting, so should be there separate setting for on/off and more advanced mapping within the integration? In case on/off object is not set up, integration should always supply ON state.
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
1. This is how google has defined it. If we change it then it will fail google test as they keep checking feedback. We will think about it. For the icons/control on google app, it is Google issue, they didn't implement most of devices yet. They do have this in roadmap but it may take them few months. The only thing what works is control via voice, google app is simply incomplete.
2. This should be possible to add. You can manually change for now DPT in in LM to 1Byte unsigned.
How the Thermostat works is again google definition. They probably fallowed Nest thermostat. There is also Temperature Control triat which does not need mode.
Each device has defined (by google) mandatory triat this is why one is always added but you can add more. You can for example use Refrigerator and call it your thermostat.
------------------------------
Ctrl+F5
Posts: 41
Threads: 4
Joined: Jan 2020
Reputation:
4
Daniel,
Thanks for the feedback. I'm not sure how Google's constraints is affecting this though. From my understanding there is a mapping between LM objects and traits. You should be free to implement your own converter logic to make it consistent, as I don't see myself or others redoing all curtains configurations and changing Mosaic widgets to work with inverted state just for this integration. In my opinion there should be converter within LM cloud that just does the conversion from trait states to KNX-defined states and vice versa, Google testing process does not need to fail on this check as feedback from converter should be consistent for Google on one side, and consistent for KNX on the other.
2) The same goes with thermostat. You're creating abstraction layer (not 1:1 value mapping) for KNX thermostats and just need to make it a bit more consistent.
I don't really want to change object type as I don't want to research what it will affect, I will probably wait for the fix. Also i just noticed that for some reason Mosaic2 settings are now broken - I cannot select HVAC mode object in the "mode" selection (for the same reason – filtered out), but previously created widget retained old connection with this object and still works, although its settings screen have empty field now. Mosaic3 don't have this problem but it seems it allows to choose almost any object except 1bit. I haven't migrated interface to Mosaic3 as it seems a bit more buggy than version 2.
Back to the thermostat, I've followed your suggestion and created Control trait, but since i cannot remove default trait, it does not override thermostat UI (that is, UI is still non-functional). If i remove all settings in the default, the thermostat UI is just empty. And refrigerator UI doesn't have UI in GH yet
Posts: 41
Threads: 4
Joined: Jan 2020
Reputation:
4
I played a bit more with the thermostat and i think i see where it's going. I guess i need to create a proxy object for the mode with custom script to route correct values to the correct KNX objects as there's no 1:1 mapping with HVAC Mode.
Still looking forward for curtain fix though
Posts: 76
Threads: 5
Joined: Sep 2016
Reputation:
4
Lights work great, is there any solution for activating KNX scenes`?
I'm trying to set up a thermostat with only setpoint, current setpoint and actual temperature with the "temperature setting" trait.
Actual temperature works, and actual setpoint looks like it's read, but it is not possible to change setpoint, what other datapoint should this need to work`?
Best regards, Jørn.
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
In fact we didn't try google scenes. No idea if they work. To trigger LM/KNX Scene your best way is getting an ON/Off device and call it your scene. Then you should be able to say turn on scene X. If you need specific value then use virtual object and script.
Thermostat has mandatory object mode. you have to set the mode to heat or cool to be working otherwise setpoint is disabled(google thing) Optionally you can use Refrigerator device which also allows to change temp but has no mode there.
------------------------------
Ctrl+F5
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
There is new update in the store. New version allows to inverse Open/Close and On/Off Triats
------------------------------
Ctrl+F5
Posts: 41
Threads: 4
Joined: Jan 2020
Reputation:
4
Curtains works great now, thanks for the update! And i look forward to seeing more features supported
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
What kind of features do you miss?
------------------------------
Ctrl+F5
Posts: 321
Threads: 72
Joined: Jan 2021
Reputation:
0
(03.11.2021, 14:57)Daniel Wrote: What kind of features do you miss?
RGB Supported?
Regards,
Best Regards,
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Yes
------------------------------
Ctrl+F5
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
Hi
This is great! Is blinds slat currently supported? I can't find it.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
I don't recall such triat but you can add more than one triat to same device and just try to match the control you need. Don't count on any graphics in google home. Goggle guys told me that this is no were near to be finished only voice control works for sure.
------------------------------
Ctrl+F5
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
(19.11.2021, 08:27)Daniel Wrote: I don't recall such triat but you can add more than one triat to same device and just try to match the control you need. Don't count on any graphics in google home. Goggle guys told me that this is no were near to be finished only voice control works for sure.
According to this text there should be "Rotation" trait there
https://developers.google.com/assistant/...des/blinds
But it's missing. Instead of it I see "Brightness" which is pointless for blinds.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
Good find, we will check how easy it is.
------------------------------
Ctrl+F5
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
New version is in the store with Rotation triat added. Control works only via %. You can say:
Tilt the device to 50 percent.
Or ask:
How much is the device rotated?
------------------------------
Ctrl+F5
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
23.11.2021, 18:46
(This post was last modified: 23.11.2021, 18:53 by Thomas.)
(22.11.2021, 14:40)Daniel Wrote: New version is in the store with Rotation triat added. Control works only via %. You can say:
Tilt the device to 50 percent.
Or ask:
How much is the device rotated?
Thank you, it's working
Another question: I've devices like door, gate, garage door etc. which allow open/close operations only. Would it be possible to add discreteOnlyOpenClose?
The whole topic is here https://developers.google.com/assistant/.../openclose
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Posts: 411
Threads: 103
Joined: Oct 2016
Reputation:
9
Another question: How are LM users joined to Google accounts? In other words: You've added GO based access rights recently. Are there rights applied to requests coming from Google Home?
Or maybe better question: Imagine you maintain a tenement house and you have 10 homes connected to one LM. How to do it? Buying 10 LMs is not an option.
LM5Lp, firmware: 2018.08.22 and 2021.12.15, FlashSYS v2, ARMv7 Processor rev 5 (v7l), kernel 4.4.151 and 4.4.259
Posts: 4643
Threads: 24
Joined: Aug 2017
Reputation:
207
There is no solution to this, Alexa works the same.
------------------------------
Ctrl+F5
|