Comments (3)
If you are using openHAB2.5.4, you're probably using the mqtt2 binding. My complete mfi thing (6ch):
Thing topic mFi "mFi" @ "mqtt" {
Type number : ch1Power "Leistung" [ stateTopic="homie/Steckdosen/port1/power" ]
Type number : ch1Volt "Spannung" [ stateTopic="homie/Steckdosen/port1/voltage" ]
Type number : ch1Energy "Energy" [ stateTopic="homie/Steckdosen/port1/energy" ]
Type number : ch2Power "Leistung" [ stateTopic="homie/Steckdosen/port2/power" ]
Type number : ch2Volt "Spannung" [ stateTopic="homie/Steckdosen/port2/voltage" ]
Type number : ch2Energy "Energy" [ stateTopic="homie/Steckdosen/port2/energy" ]
Type number : ch3Power "Leistung" [ stateTopic="homie/Steckdosen/port3/power" ]
Type number : ch3Volt "Spannung" [ stateTopic="homie/Steckdosen/port3/voltage" ]
Type number : ch3Energy "Energy" [ stateTopic="homie/Steckdosen/port3/energy" ]
Type number : ch4Power "Leistung" [ stateTopic="homie/Steckdosen/port4/power" ]
Type number : ch4Volt "Spannung" [ stateTopic="homie/Steckdosen/port4/voltage" ]
Type number : ch4Energy "Energy" [ stateTopic="homie/Steckdosen/port4/energy" ]
Type number : ch5Power "Leistung" [ stateTopic="homie/Steckdosen/port5/power" ]
Type number : ch5Volt "Spannung" [ stateTopic="homie/Steckdosen/port5/voltage" ]
Type number : ch5Energy "Energy" [ stateTopic="homie/Steckdosen/port5/energy" ]
Type number : ch6Power "Leistung" [ stateTopic="homie/Steckdosen/port6/power" ]
Type number : ch6Volt "Spannung" [ stateTopic="homie/Steckdosen/port6/voltage" ]
Type number : ch6Energy "Energy" [ stateTopic="homie/Steckdosen/port6/energy" ]
}
As I don't want to switch the sockets at all, I' did'nt create switch channels, but that would be
Type switch : ch1Switch "Schalter" [ commandTopic="homie/Steckdosen/port1/relay/set", stateTopic="homie/Steckdosen/port1/relay",on="1",off="0" ]
Type switch : ch1Lock "Sperre" [ commandTopic="homie/Steckdosen/port1/lock/set", stateTopic="homie/Steckdosen/port1/lock",on="1",off="0" ]
The lock is to disable switching at all. I have set this to ON to prevent unwanted poweroff for connected devices (as these are my servers... I'm using the mfi only for measurement)
from mpower-tools.
Hi
thanks for your reply.
I tried to copy your configuration on the folder things of openhab 2.5.4 but when i have entered in openhab GUI via web browser i didn't found your configuration. Anyway I set the mqtt binding and mqtt broker first but i don't know how to go on because , as I told you, the folder of your "things" didn't appear.
In the end I also installed openhab 3.0 but the result is the same.
May you help me with Openhab and mpower configurations with a teamwiever session?
Obviously I'm going to pay for your disturb.
If you are interest send me an email on [email protected]
or write me via telegram looking for @root_toor
from mpower-tools.
Maybe better to change to the official openHAB community: https://community.openhab.org/ mpower is not that special ;) in the end it's just another mqtt device.
from mpower-tools.
Related Issues (19)
- Works for me HOT 1
- Frequent reconnects with Mosquitto HOT 2
- Disconnecting HOT 1
- save failed HOT 1
- Problems with number of ports on mPower Pro HOT 1
- Bus error when trying to save HOT 3
- mPower - Read-only file system HOT 12
- Has anybody gathered a list of the awesome mPower/mFi repos like this one? HOT 1
- sh: Mini: unknown operand HOT 1
- Bad output after tail -f /var/log/messages command HOT 2
- .sh files contain ^M endine HOT 1
- Cloning the repository results in only empty files HOT 6
- install-client.sh- seems not working HOT 2
- Zero kb files HOT 1
- MQTT reports -1 for relay state HOT 4
- Extremely usefull HOT 3
- Mport HOT 6
- mPower 3 Outlet subs wrong HOT 3
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 mpower-tools.