@kosta Please note that once you have set the property to any value, the text field isn’t disabled anymore. This also worked before with the property named “name”.
-
[pimatic-echo] Control your pimatic devices using Amazon's echo
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
With this change the checkbox appears, also for all devices.
also for those who didn’t have a “name” config before.
in the echo.coffee line 479class EchoDeviceConfigExtension configSchema: echo: description: "Additional options specific for use with pimatic-echo" type: "object" required: [] properties: name2:
an other option is to set the default to “”
class EchoDeviceConfigExtension configSchema: echo: description: "Additional options specific for use with pimatic-echo" type: "object" properties: name2: default: ""
-
New version 0.4.7 is on the way
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Great works!!! THX!!!
-
Great work! I have an Echo 2 and am able to discover the devices. Switches work perfect so far.
Dimmers aren’t working as expected. When switching a dimmer on/off, Alexa responds with “ok”.
When I say “Alexa dim <device> to x percent” the value changes in Pimatic, 9/10 it responds with “<device> is not responding”.
Using this plugin to turn on a z-wave dimmer, it gets set to 100%. Normally when I turn on a dimmer in pimatic (with a rule or Razberry skill), it gets set to last value. Is this a limitatation of the plugin, or could it be a setting for the dimmer?
22:38:44.706 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02/state 22:38:44.710 [pimatic-echo] debug: Payload: { 22:38:44.710 [pimatic-echo] debug:> "bri": 202 22:38:44.710 [pimatic-echo] debug:>} 22:38:44.714 [pimatic-echo] debug: Headers: { 22:38:44.714 [pimatic-echo] debug:> "content-type": "application/json", 22:38:44.714 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:38:44.714 [pimatic-echo] debug:> "host": "192.168.1.52", 22:38:44.714 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:38:44.714 [pimatic-echo] debug:> "accept-encoding": "gzip", 22:38:44.714 [pimatic-echo] debug:> "content-length": "11" 22:38:44.714 [pimatic-echo] debug:>} 22:38:44.736 [pimatic-echo] debug: changing state for Dummy lights: { 22:38:44.736 [pimatic-echo] debug:> "bri": 202 22:38:44.736 [pimatic-echo] debug:>} 22:38:44.744 [pimatic-echo] debug: setting brightness of Dummy lights to 202 22:38:44.762 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:38:44.766 [pimatic-echo] debug: Headers: { 22:38:44.766 [pimatic-echo] debug:> "content-type": "application/json", 22:38:44.766 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:38:44.766 [pimatic-echo] debug:> "host": "192.168.1.52", 22:38:44.766 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:38:44.766 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:38:44.766 [pimatic-echo] debug:>} 22:38:44.787 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wkylj&b64=1 22:38:44.791 [pimatic-echo] debug: Headers: { 22:38:44.791 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:38:44.791 [pimatic-echo] debug:> "accept": "*/*", 22:38:44.791 [pimatic-echo] debug:> "host": "localhost", 22:38:44.791 [pimatic-echo] debug:> "connection": "close" 22:38:44.791 [pimatic-echo] debug:>} 22:38:45.786 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:38:45.791 [pimatic-echo] debug: Headers: { 22:38:45.791 [pimatic-echo] debug:> "content-type": "application/json", 22:38:45.791 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:38:45.791 [pimatic-echo] debug:> "host": "192.168.1.52", 22:38:45.791 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:38:45.791 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:38:45.791 [pimatic-echo] debug:>} 22:38:46.821 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:38:46.826 [pimatic-echo] debug: Headers: { 22:38:46.826 [pimatic-echo] debug:> "content-type": "application/json", 22:38:46.826 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:38:46.826 [pimatic-echo] debug:> "host": "192.168.1.52", 22:38:46.826 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:38:46.826 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:38:46.826 [pimatic-echo] debug:>} 22:38:47.898 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_WkzWC&b64=1 22:38:47.908 [pimatic-echo] debug: Headers: { 22:38:47.908 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:38:47.908 [pimatic-echo] debug:> "accept": "*/*", 22:38:47.908 [pimatic-echo] debug:> "host": "localhost", 22:38:47.908 [pimatic-echo] debug:> "connection": "close" 22:38:47.908 [pimatic-echo] debug:>} 22:38:50.945 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wk-Gp&b64=1 22:38:50.950 [pimatic-echo] debug: Headers: { 22:38:50.950 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:38:50.950 [pimatic-echo] debug:> "accept": "*/*", 22:38:50.950 [pimatic-echo] debug:> "host": "localhost", 22:38:50.950 [pimatic-echo] debug:> "connection": "close" 22:38:50.950 [pimatic-echo] debug:>} 22:38:53.988 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wk_0Q&b64=1 22:38:53.992 [pimatic-echo] debug: Headers: { 22:38:53.992 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:38:53.992 [pimatic-echo] debug:> "accept": "*/*", 22:38:53.992 [pimatic-echo] debug:> "host": "localhost", 22:38:53.992 [pimatic-echo] debug:> "connection": "close" 22:38:53.992 [pimatic-echo] debug:>} 22:38:54.024 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wk_0-&b64=1 22:38:54.028 [pimatic-echo] debug: Headers: { 22:38:54.028 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:38:54.028 [pimatic-echo] debug:> "accept": "*/*", 22:38:54.028 [pimatic-echo] debug:> "host": "localhost", 22:38:54.028 [pimatic-echo] debug:> "connection": "close" 22:38:54.028 [pimatic-echo] debug:>} 22:38:57.066 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wk_mV&b64=1 22:38:57.070 [pimatic-echo] debug: Headers: { 22:38:57.070 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:38:57.070 [pimatic-echo] debug:> "accept": "*/*", 22:38:57.070 [pimatic-echo] debug:> "host": "localhost", 22:38:57.070 [pimatic-echo] debug:> "connection": "close" 22:38:57.070 [pimatic-echo] debug:>} 22:38:57.111 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wk_n9&b64=1 22:38:57.115 [pimatic-echo] debug: Headers: { 22:38:57.115 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:38:57.115 [pimatic-echo] debug:> "accept": "*/*", 22:38:57.115 [pimatic-echo] debug:> "host": "localhost", 22:38:57.115 [pimatic-echo] debug:> "connection": "close" 22:38:57.115 [pimatic-echo] debug:>} 22:38:57.140 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wk_ng&b64=1 22:38:57.145 [pimatic-echo] debug: Headers: { 22:38:57.145 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:38:57.145 [pimatic-echo] debug:> "accept": "*/*", 22:38:57.145 [pimatic-echo] debug:> "host": "localhost", 22:38:57.145 [pimatic-echo] debug:> "connection": "close" 22:38:57.145 [pimatic-echo] debug:>} 22:39:00.188 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl0XF&b64=1 22:39:00.200 [pimatic-echo] debug: Headers: { 22:39:00.200 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:00.200 [pimatic-echo] debug:> "accept": "*/*", 22:39:00.200 [pimatic-echo] debug:> "host": "localhost", 22:39:00.200 [pimatic-echo] debug:> "connection": "close" 22:39:00.200 [pimatic-echo] debug:>} 22:39:00.234 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl0X_&b64=1 22:39:00.241 [pimatic-echo] debug: Headers: { 22:39:00.241 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:00.241 [pimatic-echo] debug:> "accept": "*/*", 22:39:00.241 [pimatic-echo] debug:> "host": "localhost", 22:39:00.241 [pimatic-echo] debug:> "connection": "close" 22:39:00.241 [pimatic-echo] debug:>} 22:39:03.395 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl1HY&b64=1 22:39:03.401 [pimatic-echo] debug: Headers: { 22:39:03.401 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:03.401 [pimatic-echo] debug:> "accept": "*/*", 22:39:03.401 [pimatic-echo] debug:> "host": "localhost", 22:39:03.401 [pimatic-echo] debug:> "connection": "close" 22:39:03.401 [pimatic-echo] debug:>} 22:39:03.523 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl1J_&b64=1 22:39:03.534 [pimatic-echo] debug: Headers: { 22:39:03.534 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:03.534 [pimatic-echo] debug:> "accept": "*/*", 22:39:03.534 [pimatic-echo] debug:> "host": "localhost", 22:39:03.534 [pimatic-echo] debug:> "connection": "close" 22:39:03.534 [pimatic-echo] debug:>} 22:39:06.580 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl257&b64=1 22:39:06.585 [pimatic-echo] debug: Headers: { 22:39:06.585 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:06.585 [pimatic-echo] debug:> "accept": "*/*", 22:39:06.585 [pimatic-echo] debug:> "host": "localhost", 22:39:06.585 [pimatic-echo] debug:> "connection": "close" 22:39:06.585 [pimatic-echo] debug:>} 22:39:06.634 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl25m&b64=1 22:39:06.639 [pimatic-echo] debug: Headers: { 22:39:06.639 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:06.639 [pimatic-echo] debug:> "accept": "*/*", 22:39:06.639 [pimatic-echo] debug:> "host": "localhost", 22:39:06.639 [pimatic-echo] debug:> "connection": "close" 22:39:06.639 [pimatic-echo] debug:>} 22:39:06.676 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl26U&b64=1 22:39:06.680 [pimatic-echo] debug: Headers: { 22:39:06.680 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:06.680 [pimatic-echo] debug:> "accept": "*/*", 22:39:06.680 [pimatic-echo] debug:> "host": "localhost", 22:39:06.680 [pimatic-echo] debug:> "connection": "close" 22:39:06.680 [pimatic-echo] debug:>} 22:39:08.196 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:39:08.201 [pimatic-echo] debug: Headers: { 22:39:08.201 [pimatic-echo] debug:> "content-type": "application/json", 22:39:08.201 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:39:08.201 [pimatic-echo] debug:> "host": "192.168.1.52", 22:39:08.201 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:39:08.201 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:39:08.201 [pimatic-echo] debug:>} 22:39:08.224 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02/state 22:39:08.235 [pimatic-echo] debug: Payload: { 22:39:08.235 [pimatic-echo] debug:> "bri": 51 22:39:08.235 [pimatic-echo] debug:>} 22:39:08.239 [pimatic-echo] debug: Headers: { 22:39:08.239 [pimatic-echo] debug:> "content-type": "application/json", 22:39:08.239 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:39:08.239 [pimatic-echo] debug:> "host": "192.168.1.52", 22:39:08.239 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:39:08.239 [pimatic-echo] debug:> "accept-encoding": "gzip", 22:39:08.239 [pimatic-echo] debug:> "content-length": "10" 22:39:08.239 [pimatic-echo] debug:>} 22:39:08.245 [pimatic-echo] debug: changing state for Dummy lights: { 22:39:08.245 [pimatic-echo] debug:> "bri": 51 22:39:08.245 [pimatic-echo] debug:>} 22:39:08.247 [pimatic-echo] debug: setting brightness of Dummy lights to 51 22:39:08.316 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:39:08.321 [pimatic-echo] debug: Headers: { 22:39:08.321 [pimatic-echo] debug:> "content-type": "application/json", 22:39:08.321 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:39:08.321 [pimatic-echo] debug:> "host": "192.168.1.52", 22:39:08.321 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:39:08.321 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:39:08.321 [pimatic-echo] debug:>} 22:39:09.723 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl2sE&b64=1 22:39:09.728 [pimatic-echo] debug: Headers: { 22:39:09.728 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:09.728 [pimatic-echo] debug:> "accept": "*/*", 22:39:09.728 [pimatic-echo] debug:> "host": "localhost", 22:39:09.728 [pimatic-echo] debug:> "connection": "close" 22:39:09.728 [pimatic-echo] debug:>} 22:39:09.773 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl2sq&b64=1 22:39:09.777 [pimatic-echo] debug: Headers: { 22:39:09.777 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:09.777 [pimatic-echo] debug:> "accept": "*/*", 22:39:09.777 [pimatic-echo] debug:> "host": "localhost", 22:39:09.777 [pimatic-echo] debug:> "connection": "close" 22:39:09.777 [pimatic-echo] debug:>} 22:39:09.811 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl2tZ&b64=1 22:39:09.815 [pimatic-echo] debug: Headers: { 22:39:09.815 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:09.815 [pimatic-echo] debug:> "accept": "*/*", 22:39:09.815 [pimatic-echo] debug:> "host": "localhost", 22:39:09.815 [pimatic-echo] debug:> "connection": "close" 22:39:09.815 [pimatic-echo] debug:>} 22:39:12.878 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl3dL&b64=1 22:39:12.883 [pimatic-echo] debug: Headers: { 22:39:12.883 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:12.883 [pimatic-echo] debug:> "accept": "*/*", 22:39:12.883 [pimatic-echo] debug:> "host": "localhost", 22:39:12.883 [pimatic-echo] debug:> "connection": "close" 22:39:12.883 [pimatic-echo] debug:>} 22:39:15.931 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl4N3&b64=1 22:39:15.937 [pimatic-echo] debug: Headers: { 22:39:15.937 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:15.937 [pimatic-echo] debug:> "accept": "*/*", 22:39:15.937 [pimatic-echo] debug:> "host": "localhost", 22:39:15.937 [pimatic-echo] debug:> "connection": "close" 22:39:15.937 [pimatic-echo] debug:>} 22:39:15.978 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl4Nz&b64=1 22:39:15.983 [pimatic-echo] debug: Headers: { 22:39:15.983 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:15.983 [pimatic-echo] debug:> "accept": "*/*", 22:39:15.983 [pimatic-echo] debug:> "host": "localhost", 22:39:15.983 [pimatic-echo] debug:> "connection": "close" 22:39:15.983 [pimatic-echo] debug:>} 22:39:16.030 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl4OY&b64=1 22:39:16.035 [pimatic-echo] debug: Headers: { 22:39:16.035 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:16.035 [pimatic-echo] debug:> "accept": "*/*", 22:39:16.035 [pimatic-echo] debug:> "host": "localhost", 22:39:16.035 [pimatic-echo] debug:> "connection": "close" 22:39:16.035 [pimatic-echo] debug:>} 22:39:16.062 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl4PK&b64=1 22:39:16.065 [pimatic-echo] debug: Headers: { 22:39:16.065 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:16.065 [pimatic-echo] debug:> "accept": "*/*", 22:39:16.065 [pimatic-echo] debug:> "host": "localhost", 22:39:16.065 [pimatic-echo] debug:> "connection": "close" 22:39:16.065 [pimatic-echo] debug:>} 22:39:18.026 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:39:18.030 [pimatic-echo] debug: Headers: { 22:39:18.030 [pimatic-echo] debug:> "content-type": "application/json", 22:39:18.030 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:39:18.030 [pimatic-echo] debug:> "host": "192.168.1.52", 22:39:18.030 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:39:18.030 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:39:18.030 [pimatic-echo] debug:>} 22:39:18.056 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02/state 22:39:18.060 [pimatic-echo] debug: Payload: { 22:39:18.060 [pimatic-echo] debug:> "bri": 228 22:39:18.060 [pimatic-echo] debug:>} 22:39:18.062 [pimatic-echo] debug: Headers: { 22:39:18.062 [pimatic-echo] debug:> "content-type": "application/json", 22:39:18.062 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:39:18.062 [pimatic-echo] debug:> "host": "192.168.1.52", 22:39:18.062 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:39:18.062 [pimatic-echo] debug:> "accept-encoding": "gzip", 22:39:18.062 [pimatic-echo] debug:> "content-length": "11" 22:39:18.062 [pimatic-echo] debug:>} 22:39:18.065 [pimatic-echo] debug: changing state for Dummy lights: { 22:39:18.065 [pimatic-echo] debug:> "bri": 228 22:39:18.065 [pimatic-echo] debug:>} 22:39:18.067 [pimatic-echo] debug: setting brightness of Dummy lights to 228 22:39:18.113 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:39:18.117 [pimatic-echo] debug: Headers: { 22:39:18.117 [pimatic-echo] debug:> "content-type": "application/json", 22:39:18.117 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:39:18.117 [pimatic-echo] debug:> "host": "192.168.1.52", 22:39:18.117 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:39:18.117 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:39:18.117 [pimatic-echo] debug:>} 22:39:19.104 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl58q&b64=1 22:39:19.108 [pimatic-echo] debug: Headers: { 22:39:19.108 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:19.108 [pimatic-echo] debug:> "accept": "*/*", 22:39:19.108 [pimatic-echo] debug:> "host": "localhost", 22:39:19.108 [pimatic-echo] debug:> "connection": "close" 22:39:19.108 [pimatic-echo] debug:>} 22:39:19.136 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:39:19.140 [pimatic-echo] debug: Headers: { 22:39:19.140 [pimatic-echo] debug:> "content-type": "application/json", 22:39:19.140 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:39:19.140 [pimatic-echo] debug:> "host": "192.168.1.52", 22:39:19.140 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:39:19.140 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:39:19.140 [pimatic-echo] debug:>} 22:39:20.154 [pimatic-echo] debug: Request to /api/83b7780291a6ceffbe0bd049104df/lights/02 22:39:20.160 [pimatic-echo] debug: Headers: { 22:39:20.160 [pimatic-echo] debug:> "content-type": "application/json", 22:39:20.160 [pimatic-echo] debug:> "user-agent": "Dalvik/2.1.0 (Linux; U; Android 5.1.1; AEORD Build/LVY48F)", 22:39:20.160 [pimatic-echo] debug:> "host": "192.168.1.52", 22:39:20.160 [pimatic-echo] debug:> "connection": "Keep-Alive", 22:39:20.160 [pimatic-echo] debug:> "accept-encoding": "gzip" 22:39:20.160 [pimatic-echo] debug:>} 22:39:22.135 [pimatic-echo] debug: Request to /socket.io/?username=<username>&password=<password>&EIO=3&transport=polling&t=L_Wl5uD&b64=1 22:39:22.140 [pimatic-echo] debug: Headers: { 22:39:22.140 [pimatic-echo] debug:> "user-agent": "node-XMLHttpRequest", 22:39:22.140 [pimatic-echo] debug:> "accept": "*/*", 22:39:22.140 [pimatic-echo] debug:> "host": "localhost", 22:39:22.140 [pimatic-echo] debug:> "connection": "close" 22:39:22.140 [pimatic-echo] debug:>}
In this log the second time dimming (bri:51) it responded with “ok”.
-
@patjee setting a dimmer to the last state is still a missing feature.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@Patjee: Perfect someone more with an Echo 2. Do you get a positive response when you try to dim to 0% or 100%?
@michbeck100: Did you already ordered your Echo 2? I’m really interested in the result of your device discovery. For me each activated device came up two times. With different types.
-
@ortin It’s coming tomorrow. But i won’t test before the weekend.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Short question regarding button devices. Currently only the first defined button device is working, even though a 2nd, 3rd… will be found. Its not really a bug for me, I can define a button device for each one and it will work, but maybe this can be fixed somehow in future?
-
@ortin Please raise an issue on github, as actually all buttons should be working.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
@ortin I received my brand new Echo 2 yesterday. Still no success when discovering devices
But if there is something to test to get the Echo 2 properly working, i’ll do.
Maybe someone can post the plugin config and a device config from a working switch with an Echo 2. I hope i was not to stupid to configure it o.O -
@schrecki: Did you change the default port of the echo plugin to 80? If not you have to do so. But take care for the default pimatic port. Out of the box it is 80, so you have to change ist to any not used. You can do this directly in the config.json.
-
@ortin Wohoo! It works!!! Thanks a lot!
Maybe this was mentioned in a Post i did not recognize… -
@michbeck100 said in [pimatic-echo] Control your pimatic devices using Amazon's echo:
Please raise an issue on github, as actually all buttons should be working.
There seems to be a problem with my 3rd buttonDevices within a routine I create only. Somehow the first button (which is not part of the routine) will be used for execution instead of the used button (3rd buttonDevice). No idea what is wrong here. Will give it one more try tomorrow.
When I operate the buttonDevices directly from the device list. All work as expected. -
Just released version 0.4.8 which supports reusing port 80 if pimatic uses it already.
@Patjee The issue when dimming to 100% is also fixed with this version.
Today my new echo arrived, so these changes are basically based on the issues I found using it.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Thx for the new version. Are you using now both echo gens in parallel? Do you have the same problem that each device gets discovered twice, but as different types?
-
@ortin Probably, i haven’t tested with both echoes parallel, yet. I hope i will have the time this weekend.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
During the last days I tried to connect my pimatic with some Amazon Alexa devices, an Echo Dot 2, a Fire Tab 7 with Alexa app (latest firmware update 5.6.0.0 with Alexa) and a normal smartphone with Alexa app.
It does not work as expected and I have some problems.
@michbeck100: You have written some posts above that a reusing of port 80 is possible for the echo plugin version > 0.4.7 even if pimatic is using port 80. Did I understood this right? So the problem to set different ports is no longer existing? This is very convenient for me because I have some connected display and sensor devices with ESP8266 and these devices need IP and port of the pimatic server to query or send the data. It is much work with the Arduino IDE to reprogramm them all.
For the now described tests I used echo plugin 0.4.8 with port 80 and pimatic server with port 80. So if this is not working even with echo plugin 0.4.8 please tell me and stop reading this post here.
I used all Alexa devices with one Amazon account. So all detected smart home devices can be used by all these 3 Alexa devices.
Fire Tab with Alexa app: longer pressing of home button, Alexa light at the bottom of the screen is switched on and I can speak to Alexa: “Schalter eins ein” or “Schalter eins aus”.
Echo Dot 2: “Alexa” - light comes - “Schalter eins ein” or “Schalter eins aus”.
Normal smartphone with Alexa app: no speaking - the smart home screen of the Alexa app shows the device and I can tap on the device. Now smartphone display is showing a lamp symbol and the text “Licht ist aus” and below “Helligkeit auf 0%”. Below these texts there is a slider to change the light intensity and I can slide it from left (0%) to right (100%). When I take up my finger this is sent to the controlled device i.e. to pimatic server.
On pimatic server I have defined a dummy switch
"settings": { "locale": "de", "debug": false, "logLevel": "debug", "httpServer": { "enabled": true, "port": 80 }, ... ... "plugins": [ { "plugin": "echo", "debug": true, "active": true, "port": 80 }, ... ... { "id": "schalter1", "name": "Schalter 1", "class": "DummySwitch", "echo": { "additionalNames": [], "active": true, "name": "Schalter 1" } },
Speaking to Alexa on Echo Dot 2 and on Fire Tab brings an entry as the following into the pimatic log.
16:46:28.347 [pimatic-echo] debug: changing state for Schalter 1: { 16:46:28.347 [pimatic-echo] debug:> "{\"on\": false}": "" 16:46:28.347 [pimatic-echo] debug:>}
When changing brightness with the slider of the Alexa app on my smartphone the following is store in the log file.
19:23:38.655 [pimatic-echo] debug: changing state for Schalter 1: { 19:23:38.655 [pimatic-echo] debug:> "{\"on\": true,\"bri\":255}": "" 19:23:38.655 [pimatic-echo] debug:>}
Interesting is that the slider on the smartphone display jumps back to 0% after some seconds. I guess that an acknoledgement is missing.
And every 10 seconds the log is filled with these lines produced by the echo plugin.
19:23:46.890 [pimatic-echo] debug: << server got: M-SEARCH * HTTP/1.1 19:23:46.890 [pimatic-echo] debug:>Host: 239.255.255.250:1900 19:23:46.890 [pimatic-echo] debug:>Man: "ssdp:discover" 19:23:46.890 [pimatic-echo] debug:>ST: ssdp:all 19:23:46.890 [pimatic-echo] debug:>MX: 5 19:23:46.890 [pimatic-echo] debug:> 19:23:46.890 [pimatic-echo] debug:> from 192.168.99.99:56638 19:23:46.898 [pimatic-echo] debug: complete sending all responses.
IP 239.255.255.250 is not in my LAN and 192.168.99.99 is not the pimatc server in my LAN.
If I look to the pimatic web interface and display the variable connected to the state of the dummy switch “$schalter1.state” it stays always on false. And of course the display of the dummy switch on the screen does not change. Only the communication to the pimatic server is logged.
Up to this point I have come. Please help me to get it working.
-
@stefang reusing port 80 is possible, but ONLY if pimatic is using this port, too. 239.255.255.250 is the advertisement ip for UPNP. 192.168.99.99 is the ip of the UPNP client (in you case probably echo, but this might be some other device, as a lot of devices use UPNP discovery)
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten -
Regarding the problems of pimatic-echo currently:
I’m having the same issues and its currently not obvious what the problem is. I’m still looking into this.
pimatic-hap - pimatic HomeKit bridge
pimatic-echo - Amazon echo integration
pimatic-dash-button - Amazon dash button support
pimatic-alarm - pimatic alarm system
Like my work? Then consider a donation
Follow me: https://twitter.com/michaelkotten