Comments (7)
Looks fine to me. You could try to reset the port of pimatic-echo to the default instead of port 80. And of course make sure to use the most recent version.
Another hint would be if you could tell what the request to /api/3arqLKYLjcWiPo78tGnMWZ888bEW70167XQSgI7g/lights brings up. Maybe it shows no devices.
from pimatic-echo.
Isnt port 80 the default port?
from pimatic-echo.
@Mostum still having problems with this?
As seen in the logs file provided, there is a request from you alexa to [...]/api/[...]lights
which means your alexa is reading the devices.
You can simply put this in your browser by adding your pimatic installation first.
e.g.:
Request: /api/3arqLKYLjcWiPo78tGnMWZ888bEW70167XQSgI7g/lights
GET Request to /api/3arqLKYLjcWiPo78tGnMWZ888bEW70167XQSgI7g/lights
Headers: {
> "host": "192.168.178.24",
The host is your pimatic installation, the request the URL.
Please open http://192.168.178.24/api/3arqLKYLjcWiPo78tGnMWZ888bEW70167XQSgI7g/lights and show us the output.
from pimatic-echo.
Yes, still the same, here is the output from the browser
{}
And here are the logs from pimatic itself
15:03:18.656 [pimatic-echo] Request: /api/3arqLKYLjcWiPo78tGnMWZ888bEW70167XQSgI7g/lights
15:03:18.662 [pimatic-echo] GET Request to /api/3arqLKYLjcWiPo78tGnMWZ888bEW70167XQSgI7g/lights
15:03:18.666 [pimatic-echo] Headers: {
15:03:18.666 [pimatic-echo]> "host": "192.168.178.24",
15:03:18.666 [pimatic-echo]> "connection": "keep-alive",
15:03:18.666 [pimatic-echo]> "cache-control": "max-age=0",
15:03:18.666 [pimatic-echo]> "upgrade-insecure-requests": "1",
15:03:18.666 [pimatic-echo]> "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36",
15:03:18.666 [pimatic-echo]> "dnt": "1",
15:03:18.666 [pimatic-echo]> "accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8",
15:03:18.666 [pimatic-echo]> "accept-encoding": "gzip, deflate",
15:03:18.666 [pimatic-echo]> "accept-language": "de-DE,de;q=0.9,en-GB;q=0.8,en;q=0.7,en-US;q=0.6",
15:03:18.666 [pimatic-echo]> "cookie": "pimatic.sess=eyJ0aGVtZSI6ImdyYXBoaXRlL3JveWFsIiwidXNlcm5hbWUiOiJhZG1pbiIsImxvZ2luVG9rZW4iOiJmYWE4ZDhmZTQ2MzBmNWI1YWIxZTk0MjkxNmMyZDk5MDNhZThhZTNlN2MxODdmNDQ5ZmUxOWMzY2ExOWU4YWE4Iiwicm9sZSI6ImFkbWluIiwicmVtZW1iZXJNZSI6dHJ1ZX0=; pimatic.sess.sig=HuhM4ZfRVG84vAewo5gFv-A2o5s; io=zuPMx_LX2fRgaeTUAAAE",
15:03:18.666 [pimatic-echo]> "if-none-match": "W/"2-vyGp6PvFo4RvsFtPoIWeCReyIC8""
15:03:18.666 [pimatic-echo]>}
15:03:18.743 [pimatic-echo] Request: /favicon.ico
15:03:18.746 [pimatic-echo] GET Request to /favicon.ico
15:03:18.749 [pimatic-echo] Headers: {
15:03:18.749 [pimatic-echo]> "host": "192.168.178.24",
15:03:18.749 [pimatic-echo]> "connection": "keep-alive",
15:03:18.749 [pimatic-echo]> "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36",
15:03:18.749 [pimatic-echo]> "dnt": "1",
15:03:18.749 [pimatic-echo]> "accept": "image/webp,image/apng,image/,/*;q=0.8",
15:03:18.749 [pimatic-echo]> "referer": "http://192.168.178.24/api/3arqLKYLjcWiPo78tGnMWZ888bEW70167XQSgI7g/lights",
15:03:18.749 [pimatic-echo]> "accept-encoding": "gzip, deflate",
15:03:18.749 [pimatic-echo]> "accept-language": "de-DE,de;q=0.9,en-GB;q=0.8,en;q=0.7,en-US;q=0.6",
15:03:18.749 [pimatic-echo]> "cookie": "pimatic.sess=eyJ0aGVtZSI6ImdyYXBoaXRlL3JveWFsIiwidXNlcm5hbWUiOiJhZG1pbiIsImxvZ2luVG9rZW4iOiJmYWE4ZDhmZTQ2MzBmNWI1YWIxZTk0MjkxNmMyZDk5MDNhZThhZTNlN2MxODdmNDQ5ZmUxOWMzY2ExOWU4YWE4Iiwicm9sZSI6ImFkbWluIiwicmVtZW1iZXJNZSI6dHJ1ZX0=; pimatic.sess.sig=HuhM4ZfRVG84vAewo5gFv-A2o5s; io=zuPMx_LX2fRgaeTUAAAE",
15:03:18.749 [pimatic-echo]> "if-none-match": "W/"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk""
15:03:18.749 [pimatic-echo]>}
from pimatic-echo.
Yes, still the same, here is the output from the browser
{}
{}
is a nice little empty object.
You may check the following:
- make sure the pimatic-echo plugin is first in the
config.json
- make sure to have at least one device set to active within the echo configuraiton part, either via
config.json
like
{
"id": "wohnzimmer-heizung",
"class": "MaxHeatingThermostat",
"name": "Heizung",
"rfAddress": "09e1a3",
"guiShowPresetControl": false,
"echo": {
"name": "Wohnzimmer Heizung",
"additionalNames": [],
"active": true
}
},
you may upload your pimatic config.json
(remember to remove the user passwords if shown).
but i would guess, you have no device enabled.
from pimatic-echo.
make sure the pimatic-echo plugin is first in the config.json
That did the job for me, thanks a lot!
from pimatic-echo.
Closing issue as it is resolved
from pimatic-echo.
Related Issues (20)
- Support of pimatic plugin "samsung-tv-2016"? HOT 9
- Alexa on Sonos One HOT 3
- needed Ports HOT 2
- Echo Dot 1st gen stopped working HOT 3
- Feature Request: Support openhr20 Thermostat HOT 4
- Support new generations 2 and 3 HOT 7
- Pimatic failed to start after Reboot from Raspberry HOT 10
- MqttSwitch no echo settings HOT 2
- Plugin does not work anymore HOT 5
- Cant add more devices from tradfri HOT 33
- Feature request: Support TTS and media to echo HOT 3
- Feature Request: pimatic-raspbee support HOT 2
- pimatic-echo has problems with umlauts
- After reboot device not found HOT 11
- Pimatic-echo 0.5.6 Find only first Device in a Buttons Device HOT 4
- An uncaught exception occurred: TypeError: this is not a typed array. HOT 2
- After Update to 5.9 - Every ~ 10 Seconds Warning "Deivce with X ID not found" HOT 10
- Strange behavior since a few days HOT 3
- devices trigger other devices, no more devices found by alexa HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pimatic-echo.