[MyDomoAtHome] Support thread

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Post Reply
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

please update to the latest version, the unknown devices are now hidden
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Bikey »

Wow your are quick, thanks :-)

I just did the update:
Spoiler: show
pi@raspberrypi ~/domoticz/MyDomoAtHome $ sh update-mdah.sh
[ ok ] Stopping plack server: MyDomoAtHome.
remote: Counting objects: 73, done.
remote: Compressing objects: 100% (47/47), done.
remote: Total 73 (delta 25), reused 4 (delta 4), pack-reused 21
Unpacking objects: 100% (73/73), done.
From https://github.com/empierre/MyDomoAtHome
06e2811..cbb7d40 master -> origin/master
Updating 06e2811..cbb7d40
Fast-forward
.codeclimate.yml | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
.travis.yml | 20 ++++++++++++++++++++
MyDomoAtHome.sh | 2 +-
README.md | 82 +++++++++++++++++++++++++++++++++++++++++++++++++---------------------------------
config.yml.def | 2 +-
lib/Domo.pm | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------
package.json | 36 ++++++++++++++++++++++++++++++++++++
start.sh | 3 ++-
start2.sh | 2 +-
views/index.tt | 6 +++---
10 files changed, 271 insertions(+), 61 deletions(-)
create mode 100644 .codeclimate.yml
create mode 100644 .travis.yml
create mode 100644 package.json
Reading package lists... Done
Building dependency tree
Reading state information... Done
libaudio-mpd-perl is already the newest version.
libnet-upnp-perl is already the newest version.
libpoe-component-client-mpd-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
[ ok ] Starting plack server: MyDomoAtHome.
And at first there where no unknown devices, but after switching a couple of times, they are back again! And increasing...
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Bikey wrote:Wow your are quick, thanks :-)

And at first there where no unknown devices, but after switching a couple of times, they are back again! And increasing...
try a new update
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Bikey »

Wow, you are really fast, this time it works! Thanks, no more repeating devices!

Only issues I still have are:
  1. Most important: the push-on and pus-off buttons work the wrong way around. Like explained earlier: a "push-on" button should be "Off" in the interface. If you push it, it should send an "On" signal and show an "On" state in the interface temporarily and then turn back to the "Off" state in the interface. Currently it is just the other way around: it is "On" in the interface and send an "Off" command if you push it.
  2. My PIR-sensors are presented just like smoke detectors with the status "OK", "Alert!". They have a button wich suggests that they can be "Armed" and "Disarmed" but that is not possible with my motion detectors.
  3. I have 2 empty tab pages in the App: "Utility" and "Volume" (?). Probably not something you can do anything about?
  4. In the App (top right) you can select "show hidden devices". That does not do anything, I was expecting that it would show the devices that are hidden in Domoticz by using a name that starts with "$"
Anyway you are doing a great job, keep up the good work!
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Bikey wrote: [*]Most important: the push-on and pus-off buttons work the wrong way around. Like explained earlier: a "push-on" button should be "Off" in the interface. If you push it, it should send an "On" signal and show an "On" state in the interface temporarily and then turn back to the "Off" state in the interface. Currently it is just the other way around: it is "On" in the interface and send an "Off" command if you push it.
this is not what I have seen yesterday for I tested in both interface and this was ok for push on and push off buttons. In domoticz the push on is always on, there is no off anywhere. In imperihome, since they doon't have the push button it is a switch, so if you push the on button, it goes off in imperihome but sends an on to domoticz. Then imperihome refreshes and see it is On in domoticz so goes back to On.
Bikey wrote: [*]My PIR-sensors are presented just like smoke detectors with the status "OK", "Alert!". They have a button wich suggests that they can be "Armed" and "Disarmed" but that is not possible with my motion detectors.
I have the same, it is not a button but a status you cannot change.
Bikey wrote: [*]I have 2 empty tab pages in the App: "Utility" and "Volume" (?). Probably not something you can do anything about?.
I could, but I would need a tracker for this. This means I need to parse the devices before giving the rooms, this can be done as an enhancement

Bikey wrote: [*]In the App (top right) you can select "show hidden devices". That does not do anything, I was expecting that it would show the devices that are hidden in Domoticz by using a name that starts with "$" [/list].
this is imperihome specific, you can hide devices in imperihome going in their configuraton
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Bikey »

epierre wrote: this is not what I have seen yesterday for I tested in both interface and this was ok for push on and push off buttons. In domoticz the push on is always on, there is no off anywhere. In imperihome, since they doon't have the push button it is a switch, so if you push the on button, it goes off in imperihome but sends an on to domoticz. Then imperihome refreshes and see it is On in domoticz so goes back to On.
I just tested it: you are wright, in Domoticz the push on is always on. If you push it, Domoticz sends an "On" command (that's why it is called a push-ON button I guess...).
However, if I push it in Imperihome it sends an "Off" command, which causes it to go Off in Domoticz interface as well.
Also in Imperihome the buttons returns to "On", while in Domoticz it is still "Off" (both in the interface and looking at a the last state in the log). So the gateway does not actually seem to look at the status of Domoticz (or the API gives a wrong state)?
I have 2 empty tab pages in the App: "Utility" and "Volume" (?). Probably not something you can do anything about?.
I could, but I would need a tracker for this. This means I need to parse the devices before giving the rooms, this can be done as an enhancement
What do you mean by "tracker". Is that something I can do, I don't have a Github account.
Bikey wrote: In the App (top right) you can select "show hidden devices". That does not do anything, I was expecting that it would show the devices that are hidden in Domoticz by using a name that starts with "$" [/list].
this is imperihome specific, you can hide devices in imperihome going in their configuraton[/quote]
Ok, so you mean that the Imerihome API does not support hidden devices? I don't see any options in the settings for the Imperihome App to hide devices.
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Bikey wrote:
epierre wrote: this is not what I have seen yesterday for I tested in both interface and this was ok for push on and push off buttons. In domoticz the push on is always on, there is no off anywhere. In imperihome, since they doon't have the push button it is a switch, so if you push the on button, it goes off in imperihome but sends an on to domoticz. Then imperihome refreshes and see it is On in domoticz so goes back to On.
I just tested it: you are wright, in Domoticz the push on is always on. If you push it, Domoticz sends an "On" command (that's why it is called a push-ON button I guess...).
However, if I push it in Imperihome it sends an "Off" command, which causes it to go Off in Domoticz interface as well. Also in Imperihome the buttons returns to "On", while in Domoticz it is still "Off" (both in the interface as if I look at a the last state in the log). So the gateway does not actually seem to look at the status of Domoticz (or the API gives a wrong state)?
I did look in the domoticz logs, it does not send an off. Yes the api sends always an on for a push on button whatever the status.
Bikey wrote: I have 2 empty tab pages in the App: "Utility" and "Volume" (?). Probably not something you can do anything about?.
I could, but I would need a tracker for this. This means I need to parse the devices before giving the rooms, this can be done as an enhancement
What do you mean by "tracker". Is that something I can do, I don't have a Github account.[/quote]
ok I'll do it
Bikey wrote: In the App (top right) you can select "show hidden devices". That does not do anything, I was expecting that it would show the devices that are hidden in Domoticz by using a name that starts with "$" [/list].
this is imperihome specific, you can hide devices in imperihome going in their configuraton[/quote]
Ok, so you mean that the Imerihome API does not support hidden devices? I don't see any options in the settings for the Imperihome App to hide devices.[/quote]

yes and no.... I take all devices whenever they are hidden or not in domoticz, but I cannon set a hidden flag in the API

to change this in the ui, press long on the device name, then check "hide this device"
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Doler
Posts: 142
Joined: Friday 31 July 2015 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sint-Oedenrode, Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Doler »

epierre wrote:
Hello,

is that a push-on or push-off button in domoticz ? then this is normal, I restested this yesterday
No, it's a regular On/Off switch. I tried changing to another type and changing it back but that didn't help. When changed to a push-on I see indeed the same behaviour except when it's an On/Off switch it shows this behaviour only when On. Other switches behave normal, so I've only one weird switch.
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Doler wrote:
epierre wrote:
is that a push-on or push-off button in domoticz ? then this is normal, I restested this yesterday
No, it's a regular On/Off switch. I tried changing to another type and changing it back but that didn't help. When changed to a push-on I see indeed the same behaviour except when it's an On/Off switch it shows this behaviour only when On. Other switches behave normal, so I've only one weird switch.
ok so it is something different, if I have your database, what is the device in question so I can have a look ?

thanks,
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Bikey »

epierre wrote: I did look in the domoticz logs, it does not send an off. Yes the api sends always an on for a push on button whatever the status.
I have to disagree. I have created a dummy "push-on" switch in Domoticz. If I push it in ImperiHome the status gets "Off". The API also shows that the status is "Off". Look:
Spoiler: show
{
"ActTime" : 1441799434,
"ServerTime" : "2015-09-09 13:50:34",
"Sunrise" : "07:07",
"Sunset" : "20:10",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Off",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 4,
"HardwareName" : "Dummy",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveDimmer" : false,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "69",
"Image" : "Light",
"InternalState" : "Off",
"IsSubDevice" : false,
"LastUpdate" : "2015-09-09 13:49:58",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 0,
"Name" : "TestButton",
"Notifications" : "false",
"PlanID" : "0",
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"Status" : "",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "X10",
"SwitchType" : "Push On Button",
"SwitchTypeVal" : 9,
"Timers" : "false",
"Type" : "Lighting 1",
"TypeImg" : "push",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "166"
}
],
"status" : "OK",
"title" : "Devices"
}
ok I'll do it
Thanks!
to change this in the ui, press long on the device name, then check "hide this device"
Oh, didn't know that, that's what I needed, thanks for the tip!
I take all devices whenever they are hidden or not in domoticz
Nope: all devices with a "$" in the name do not appear in Imperihome. They are also not available in http://gatewayIP:port/devices
Doler
Posts: 142
Joined: Friday 31 July 2015 21:02
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Sint-Oedenrode, Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Doler »

epierre wrote: ok so it is something different, if I have your database, what is the device in question so I can have a look ?

thanks,
Did sent it a couple of minutes ago.
Mark: Domoticz Beta on Raspberry Pi 4 running Debian Bookworm - Z-Stick 7 - RFXCom - P1 - MySensors - SolarEdge - Dahua - Philips Hue - Docker - Zigbee2mqtt (plugin) - Zwave-js-ui - dzVents - Nodered
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Bikey wrote:
epierre wrote: I did look in the domoticz logs, it does not send an off. Yes the api sends always an on for a push on button whatever the status.
I have to disagree. I have created a dummy "push-on" switch in Domoticz. If I push it in ImperiHome the status gets "Off". The API also shows that the status is "Off". Look:
Spoiler: show
"Data" : "Off",
"InternalState" : "Off",
"Status" : "",
"SwitchType" : "Push On Button",
"SwitchTypeVal" : 9,
this indicates something internal, we only use the Status which is empty here for it is always On. I guess this is something alwas answered but not used, I'm not sure the value changes one day... it has also dimmer function but is not dimmable, too much useless information

Bikey wrote:Nope: all devices with a "$" in the name do not appear in Imperihome. They are also not available in http://gatewayIP:port/devices
this has to be investigated, I see no reason
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Bikey »

epierre wrote: this indicates something internal, we only use the Status which is empty here for it is always On. I guess this is something alwas answered but not used, I'm not sure the value changes one day... it has also dimmer function but is not dimmable, too much useless information
Well I see "Data" : "On" or changing to "Off" and "Internal State" (which is probably the presentation) also changing from "On" to "Off".
Perhaps you can use those states?

See below for the "On" condition of the push-on button (previous post was the "Off" state):
Spoiler: show
{
"ActTime" : 1441810322,
"ServerTime" : "2015-09-09 16:52:02",
"Sunrise" : "07:07",
"Sunset" : "20:10",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "On",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 4,
"HardwareName" : "Dummy",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveDimmer" : false,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "69",
"Image" : "Light",
"InternalState" : "On",
"IsSubDevice" : false,
"LastUpdate" : "2015-09-09 16:51:55",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 0,
"Name" : "TestButton",
"Notifications" : "false",
"PlanID" : "0",
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"Status" : "",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "X10",
"SwitchType" : "Push On Button",
"SwitchTypeVal" : 9,
"Timers" : "false",
"Type" : "Lighting 1",
"TypeImg" : "push",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "166"
}
],
"status" : "OK",
"title" : "Devices"
}
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Bikey »

Another request/question: I have a door contact (type "contact" in Domoticz) wich can be "Open" or "Closed".
In Imperihome however this contact is presented as a switch, suggesting that you can activate it. Can you change this to a "DevDoor" (not Armable)?

I see in the ImperiHome API-documentation that a smoke detector = DevSmoke and that it has a param key "Armable" as well. If you set this at "0", perhaps this is also removed in the App interface? That would be nice!
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Bikey wrote:
epierre wrote: this indicates something internal, we only use the Status which is empty here for it is always On. I guess this is something alwas answered but not used, I'm not sure the value changes one day... it has also dimmer function but is not dimmable, too much useless information
Well I see "Data" : "On" or changing to "Off" and "Internal State" (which is probably the presentation) also changing from "On" to "Off".
Perhaps you can use those states?
Well I'm a bit puzzled because:
1- I don't think domoticz would handle any off value on such buttons (push on button)
2- many people already use it this way without reporting an issue.

if this is a push on button, why would you have an off command which is sent ? I don't understand the behavior...
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Bikey »

From Domoticz it is not possible to send an "Off" command. So the only way for me now to get it to change to "Off" is by using the ImperiHome App. If i push it in the App, it changes to "Off" in Domoticz, but changes to "On" again in Imperihome! So to me, this proves that Imperihome is sending an "off" message if you press a "Push-on" button....
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Bikey wrote:Another request/question: I have a door contact (type "contact" in Domoticz) wich can be "Open" or "Closed".
In Imperihome however this contact is presented as a switch, suggesting that you can activate it. Can you change this to a "DevDoor" (not Armable)?
if there is a parameter presented by domoticz I can show that difference, what is your device so I can see ?

I already send a DevDoor for a DooLock device in DZ.
Bikey wrote:I see in the ImperiHome API-documentation that a smoke detector = DevSmoke and that it has a param key "Armable" as well. If you set this at "0", perhaps this is also removed in the App interface? That would be nice!
Same here, I already send a DevSmoke for a Smoke Detector device in DZ.

have you some device that are not mapped these way ? if so, please tell me your names on your DZ,
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Bikey wrote:From Domoticz it is not possible to send an "Off" command. So the only way for me now to get it to change to "Off" is by using the ImperiHome App. If i push it in the App, it changes to "Off" in Domoticz, but changes to "On" again in Imperihome! So to me, this proves that Imperihome is sending an "off" message if you press a "Push-on" button....
I don't know if this is the same issue as Doler, but a push on is always on in domoticz. If it is not, then this is not a push-on button.

what is the device in your database so I can have a look ?
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Bikey
Posts: 331
Joined: Sunday 22 February 2015 12:19
Target OS: Linux
Domoticz version: 2020.x
Location: Netherlands
Contact:

Re: [MyDomoAtHome] Support thread

Post by Bikey »

epierre wrote:
Bikey wrote:From Domoticz it is not possible to send an "Off" command. So the only way for me now to get it to change to "Off" is by using the ImperiHome App. If i push it in the App, it changes to "Off" in Domoticz, but changes to "On" again in Imperihome! So to me, this proves that Imperihome is sending an "off" message if you press a "Push-on" button....
I don't know if this is the same issue as Doler, but a push on is always on in domoticz. If it is not, then this is not a push-on button.

what is the device in your database so I can have a look ?
In Domoticz API it is shown as: "SwitchType" : "Push On Button", see below:
Spoiler: show
{
"ActTime" : 1441812711,
"ServerTime" : "2015-09-09 17:31:51",
"Sunrise" : "07:07",
"Sunset" : "20:10",
"result" : [
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Off",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 4,
"HardwareName" : "Dummy",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveDimmer" : false,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"ID" : "69",
"Image" : "Light",
"InternalState" : "Off",
"IsSubDevice" : false,
"LastUpdate" : "2015-09-09 16:58:23",
"Level" : 0,
"LevelInt" : 0,
"MaxDimLevel" : 0,
"Name" : "TestButton",
"Notifications" : "false",
"PlanID" : "0",
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 7,
"Status" : "",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "X10",
"SwitchType" : "Push On Button",
"SwitchTypeVal" : 9,
"Timers" : "false",
"Type" : "Lighting 1",
"TypeImg" : "push",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "166"
}
],
"status" : "OK",
"title" : "Devices"
}
And this is what the Gateway shows:
"name":"TestButton","type":"DevSwitch","id":"166","room":"Switches"},{"params":[{"unit":"","value":"unk","graphable":"false","key":"Value"}]
User avatar
epierre
Posts: 522
Joined: Wednesday 05 March 2014 13:16
Target OS: Linux
Domoticz version:
Location: France
Contact:

Re: [MyDomoAtHome] Support thread

Post by epierre »

Bikey wrote: And this is what the Gateway shows:
"name":"TestButton","type":"DevSwitch","id":"166","room":"Switches"},{"params":[{"unit":"","value":"unk","graphable":"false","key":"Value"}]
ok the unk value is not normal, I'll see why it is here.
ImperiHome & MyDomoAtHome on top of:
868.42Mhz - Vera Lite - Fibaro SS-101, S-211, K-101, FWP - Fortress SSA2
433Mhz - Cubie Domoticz + RFXtrx + Oregon || Foscam 9821W
2,4Ghz - Cubie MySensors Gateway + COV + TempHumidity + Pressure + WaterMeter
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest