mmm-homeassistant-touch's People
mmm-homeassistant-touch's Issues
config.js documentation example request
Hi - great initiative, can you help with some more details on a config please?
e.g. if I were adding this module inside an existing config I would be expecting something like adding the module name and location at min to the provided example. How can you also define each entity? Is this pulled directly from HA? e.g. using friendly name? Can the buttons be overridden?, an simple example of a light switch would be great. Also is there a debug option? The the example below MM starts fine but I don't see the module load. Thanks!
{
module: "MMM-Homeassistant-touch",
position: "top_center",
host: "http://IPADDRESS",
port: 8123,
token: "MYTOKEN",
ignoreCert: false,
entities: ["ENTITY_ID"],
},
Cant run automations and they get wierd names,
Hello, I can get the scenes and automations to show on the MM.
But nothing happens when I click them, I am wondering how I can make it so that if I click on the box it runs the automation?
And another question, as you can see from the picture the boxes are called stuff like "Dagljus (Unsupported) 2024-02 etc" or "Släck Allt (Unsupported) etc"
Here is my config:
{
module: "MMM-HomeAssistant-Touch",
position: "middle_center",
config: {
host: "http://MY-IP",
port: 8123,
token: "[REDACTED]",
ignoreCert: false,
entities: [
"scene.dagsljus",
"scene.slack_allt",
"scene.morgonljus",
"scene.se_tv",
"automation.hall_lampknapp_klickad",
"automation.kok_lapmknapp_klickad",
"automation.vardagsrum_lapmknapp_klickad"
]
}
},
Unable to add module. Errors out
I'm having troubles adding the module in my docker container MM. I'd like to control lights and groups of lights from my wall mounted tablet and I have a very basic config working right now for an other module.
when I add the below configuration
{
module: "MMM-HomeAssistant-Touch",
position: "middle",
config: {
host: "http://192.168.1.24",
port: 8123,
token: "asdf",
ignoreCert: false,
entities: [
"light.basement_light_1",
"light.master_bedroom_light",
]
}
},
This is the docker logs
[19.09.2021 13:04.18.198] [LOG] Starting MagicMirror: v2.15.0,
[19.09.2021 13:04.18.201] [LOG] Loading config ...,
[19.09.2021 13:04.18.203] [LOG] Loading module helpers ...,
[19.09.2021 13:04.18.205] [LOG] No helper found for module: clock.,
[19.09.2021 13:04.18.378] [LOG] Initializing new module helper ...,
[19.09.2021 13:04.18.379] [LOG] Module helper loaded: MMM-CalendarWeek,
[19.09.2021 13:04.18.381] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'homeassistant',
Require stack:,
- /opt/magic_mirror/modules/MMM-HomeAssistant-Touch/node_helper.js,
- /opt/magic_mirror/js/app.js,
- /opt/magic_mirror/serveronly/index.js,
[19.09.2021 13:04.18.382] [LOG] Loading module helpers ...,
[19.09.2021 13:04.18.382] [LOG] No helper found for module: clock.,
[19.09.2021 13:04.18.383] [LOG] Initializing new module helper ...,
[19.09.2021 13:04.18.383] [LOG] Module helper loaded: MMM-CalendarWeek,
[19.09.2021 13:04.18.385] [ERROR] Whoops! There was an uncaught exception...,
[19.09.2021 13:04.18.388] [ERROR] Error: Cannot find module 'homeassistant',
Require stack:,
- /opt/magic_mirror/modules/MMM-HomeAssistant-Touch/node_helper.js,
- /opt/magic_mirror/js/app.js,
- /opt/magic_mirror/serveronly/index.js,
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15),
at Function.Module._resolveFilename (/opt/magic_mirror/node_modules/module-alias/index.js:49:29),
at Function.Module._load (internal/modules/cjs/loader.js:667:27),
at Module.require (internal/modules/cjs/loader.js:887:19),
at require (internal/modules/cjs/helpers.js:74:18),
at Object.<anonymous> (/opt/magic_mirror/modules/MMM-HomeAssistant-Touch/node_helper.js:2:23),
at Module._compile (internal/modules/cjs/loader.js:999:30),
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10),
at Module.load (internal/modules/cjs/loader.js:863:32),
at Function.Module._load (internal/modules/cjs/loader.js:708:14) {,
code: 'MODULE_NOT_FOUND',,
requireStack: [,
'/opt/magic_mirror/modules/MMM-HomeAssistant-Touch/node_helper.js',,
'/opt/magic_mirror/js/app.js',,
'/opt/magic_mirror/serveronly/index.js',
],
},
[19.09.2021 13:04.18.388] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?,
[19.09.2021 13:04.18.389] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues,
It looks like i'm missing a module [ERROR] Error: Cannot find module 'homeassistant'
but I'm lose as to which one it is.
Thanks
Touch doesn't work
Hi.
I install this module on my mirror.
Apparently all work good, only the touch doesn't work.
I explane:
this is my code
module: "MMM-HomeAssistant-Touch",
position: "lower_third",
config: {
host: "http://192.168.0.106",
port: 8123,
token: "myToken"
ignoreCert: false,
entities: [
"switch.1000cb1cec_2",
"switch.1000cb0cf2_1",
],
}
},
And this is what i see on the mirror
and on terminal
Now, if i touch one of the two light on the mirror, nothing happenes and i see this on the terminal
instead if I use my ewelink App or Home Assistant, i se the switch on the mirror and all work good
mirror side
Terminal side
So, module listen what happened by Home Assistant, and when I touch the switch on the mirror something happen, but the signal don't arrive to destination.
Have been someone same problem and can help me?
Thank you so much
Covers doesn't disapear
[Feature Request] Integration with GPIO on RPI
Hi there,
I love using your Module on my mirrors - they are looking great and working fine - but since I got a 21" mirror, and no touchscreen - but touch buttons and sliders - I would love to integrate them. They are all Digital so they can be intrgrated directly (not like GPIO Module with analog inputs via arduino -> PI).
Let me know if you could imagine implementing this or guide me on that way.
all the best
jiromusik
Not getting it to work
I can not get it to work, I beleve the issue is that I do not have a API Token, nor do I know how I get one.
But this is how my configuration looks like
{
host: "http://127.0.0.1",
port: 8123,
token: "Valid",
ignoreCert: false,
entities: [
"scene.vardagsrum_slack"
],
},
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.