Page 50 of 55
Re: [MyDomoAtHome] Support thread
Posted: Thursday 12 September 2019 15:09
by epierre
rjnl wrote: ↑Tuesday 12 March 2019 8:31
Hi, since i have last updated domoticz (beta), my P1 energy counter device doesnt work anymore in imperihome. It now has two devices, <energy>CounterDelivToday and <energy>CounterToday, both dont show anything useful in imperihome. I tried updating everything to the latest, but cant get it to work.
https://github.com/empierre/MyDomoAtHome/issues/185
Re: [MyDomoAtHome] Support thread
Posted: Thursday 12 September 2019 15:11
by epierre
samourai47 wrote: ↑Monday 02 September 2019 11:25
Hello
I reinstall al my domoticz with the last raspian version (full buster). Nojejs and npm are pre installed..
https://github.com/empierre/MyDomoAtHome/issues/184
Re: [MyDomoAtHome] Support thread
Posted: Thursday 12 September 2019 15:17
by epierre
try doing a curl on the extenral up from the PI
Re: [MyDomoAtHome] Support thread
Posted: Thursday 12 September 2019 15:21
by epierre
dextm80 wrote: ↑Monday 10 December 2018 1:30
hi guys, i've to monit my domoathome with monit, and i find this code :
Code: Select all
check host MyDomoAtHome with address MYIP
start program = "/usr/sbin/service mydomoathome start"
stop program = "/usr/sbin/service mydomoathome stop"
if failed port 3002 protocol HTTP
request /devices
with timeout 5 seconds
then restart
if 5 restart within 5 cycles then exec "/sbin/reboot"
but my mdah is username and password protected, can you help me?
I would recommend /system which will not test the domoticz each time.
quickly looking at monit I would say:
protocol HTTP request
http://login:password@localhost:3002/system
or to avoid in domoticz: setup/settings/local networks and add 127.0.0.1
Re: [MyDomoAtHome] Support thread
Posted: Thursday 12 September 2019 15:27
by epierre
for Alitoy, you have unsupported Node version: 9.4.0 so please fall back to v4 as specified above
for drtrimble, 58djarviss, sjocha and the others I suspect the same as it happened in the same timeframe, can you check and tell me if this is correct ? thanks
UPDATE: false alert for me, upgraded my odroid XU4 to Ubuntu 16 with node 8 without any issue. Can you be more specific on which version you have that is having an issue ?
Re: [MyDomoAtHome] Support thread
Posted: Friday 13 September 2019 10:36
by samourai47
[Hello.
Sorry for m'y little level in linux and debian os.
I don t understand how to solve thé problem
Thank s for your help
quote=epierre post_id=223863 time=1568293861 user_id=1123]
samourai47 wrote: ↑Monday 02 September 2019 11:25
Hello
I reinstall al my domoticz with the last raspian version (full buster). Nojejs and npm are pre installed..
https://github.com/empierre/MyDomoAtHome/issues/184
[/quote]
Re: [MyDomoAtHome] Support thread
Posted: Friday 13 September 2019 10:50
by epierre
samourai47 wrote: ↑Friday 13 September 2019 10:36
[
I don t understand how to solve thé problem
Thank s for your help
You'll have to wait for a specific version when I'll have a nodejs 10 to test.
All previous raspbian version both provide v4 and v8, none v10 except buster.
what do you have when you type:
sudo apt-cache madison nodejs
Re: [MyDomoAtHome] Support thread
Posted: Saturday 14 September 2019 14:36
by samourai47
epierre wrote: ↑Friday 13 September 2019 10:50
sudo apt-cache madison nodejs
That
pi@raspberrypi:~ $ sudo apt-cache madison nodejs
nodejs | 10.15.2~dfsg-2+rpi1 |
http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
nodejs | 4.2.2 |
https://www.e-nef.com/domoticz/mdah Packages
Thank's
Re: [MyDomoAtHome] Support thread
Posted: Saturday 14 September 2019 18:25
by MikeF
@epierre:
As you seem to be picking up old tickets, did you see this one?
MikeF wrote: ↑Wednesday 21 November 2018 12:03
MikeF wrote: ↑Wednesday 07 November 2018 0:57
Negative values showing as positive in MDAH. Apologies if this has been reported already, but I couldn't find it.
I have a custom sensor in Domoticz, which shows sun altitude. After sunset, this has negative values, but these are showing as positive in MDAH (and Imperihome).
E.g.,
MDAH:
Code: Select all
{"id":"338","name":"Sun altitude","type":"DevGenericSensor","room":"Utility","params":[{"key":"Value","value":"54.5","unit":"°","graphable":"true"}]}
Issue #173 raised on Github.
Re: [MyDomoAtHome] Support thread
Posted: Monday 16 September 2019 17:39
by epierre
MikeF wrote: ↑Saturday 14 September 2019 18:25
MDAH:
Code: Select all
{"id":"338","name":"Sun altitude","type":"DevGenericSensor","room":"Utility","params":[{"key":"Value","value":"54.5","unit":"°","graphable":"true"}]}
Issue #173 raised on Github.
Hello,
What is the domoticz output in
http://domoticz_ip:8080/json.htm?type=devices&filter=all&used=true&order=Name
I just need the block with that device, thanks
Re: [MyDomoAtHome] Support thread
Posted: Tuesday 24 September 2019 7:54
by MikeF
Here it is:
- Spoiler: show
Code: Select all
{
"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "-1.2 °",
"Description" : "",
"Favorite" : 0,
"HardwareID" : 36,
"HardwareName" : "SunMoon",
"HardwareType" : "Dummy (Does nothing, use for virtual switches only)",
"HardwareTypeVal" : 15,
"HaveTimeout" : false,
"ID" : "00082338",
"Image" : "Custom",
"LastUpdate" : "2019-09-24 06:44:03",
"Name" : "Sun altitude",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"SensorType" : 1,
"SensorUnit" : "°",
"ShowNotifications" : true,
"SignalLevel" : "-",
"SubType" : "Custom Sensor",
"Timers" : "false",
"Type" : "General",
"TypeImg" : "Custom",
"Unit" : 1,
"Used" : 1,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "338"
},
Sorry for the delay - I’ve been away.
Re: [MyDomoAtHome] Support thread
Posted: Tuesday 24 September 2019 13:17
by epierre
rjnl wrote: ↑Tuesday 12 March 2019 8:31
Hi, since i have last updated domoticz (beta), my P1 energy counter device doesnt work anymore in imperihome. It now has two devices, <energy>CounterDelivToday and <energy>CounterToday, both dont show anything useful in imperihome. I tried updating everything to the latest, but cant get it to work. json.htm gives the below output for this device. Any way you can help me to get this to work again? I really miss being able to see the current energy usage.
"Counter" : "37019.922",
"CounterDeliv" : "0.000",
"CounterDelivToday" : "0.000 kWh",
"CounterToday" : "7.141 kWh",
"Usage" : "969 Watt",
"UsageDeliv" : "0 Watt",
I display in two parts: Usage,CounterToday and UsageDeliv,CounterDelivToday
IS your problem related to domoticz ? you should ask to domoticz guys
Re: [MyDomoAtHome] Support thread
Posted: Wednesday 25 September 2019 13:20
by epierre
jefft wrote: ↑Sunday 14 October 2018 13:49
Is there any way to control how much MDAH logs?
Mine wasn't logging much at all, which was fine, but since I added some dummy selector switches to domoticz, MDAH is filling syslog with a load of info about them every 5 seconds! I was concerned that this might mean that it's having a problem with them, but the log entries seem to be just informational. That seems entirely unnecessary.
Example of log lines below. I'm seeing this pattern continuously - two sets of the same entries, about every 5 seconds.
Any way to stop this? Is it indicating a problem?
not a problem, but I will silence these logs
Re: [MyDomoAtHome] Support thread
Posted: Friday 15 November 2019 10:51
by TroisSix
Hi epierre,
I use a raspberry pi3b, with a new sd card and a fresh new install of raspbian 10 buster, and also a fresh new domoticz+mdah.
I noticed a latency of at least 5 secondes to have the devices available within ImperiHome, same latency on local wifi network or outside my home.
Is it a normal behaviour?
Re: [MyDomoAtHome] Support thread
Posted: Friday 15 November 2019 10:58
by epierre
Hello,
do you mean more latency than with a version before buster ?
should be not, but my experience shows than an OS/distro has many many impacts... on my odroid XU4 going from one version on ubuntu or the other I halved my consumption... and processor heat from 100°C to 45°C...
Re: [MyDomoAtHome] Support thread
Posted: Friday 15 November 2019 15:51
by TroisSix
In fact, it's just a feeling, how long do you wait to have the devices available? I mean once you can have a status or you're able to switch something. For me it is at least 5 sec.
A few major changes on my side:
- new sd, new distro raspbian, domoticz and mdah reinstalled from scratch so it should be faster, but also new versions of npm, node, .. and perhaps I didn't used the good versions for my distro (pi3b)
- and also new ios 13

Re: [MyDomoAtHome] Support thread
Posted: Friday 15 November 2019 15:56
by epierre
I would say that the more device you have the slower it gets... new raspbian is made mostly for PI4, and I don't have either running
Have you tested the speed of the sdcard (lot of fake around...) ?
I've observed in time that Imperihome can be a bit slow (I sync with eedomus and MDAH) so I havea lot of rooms and devices.
Re: [MyDomoAtHome] Support thread
Posted: Monday 25 November 2019 16:08
by jluc2808
this morning myDomoAtHome began crazy and stop working, without any interaction from my side.
the version 2.0.39 is already installed from 6 month, on my synology DSM6.2 and was running nicely
my etc/mydomoathome/config.json seems correct
{
"app_name": "MyDomoAtHome",
"auth": null,
"tempmode": "C",
"domoticz": {
"ssl": false,
"host": "127.0.0.1",
"port": "8084",
"path": "/",
"auth": null
},
"port": "3002",
"passcode": ""
}
i have resetted access :
sudo chmod a+rx /etc/mydomoathome
sudo chmod a+rx /etc/mydomoathome/config.json
when i start the MyDomoAtHome package form synology DSM Gui it starts but return after a few seconds into need to be started
my log synoservice.log show nothing :
2019-11-25T15:54:07+01:00 SYNOLOGY_DS414 synoscgi_SYNO.Core.Package.Control_1_start[10518]: service_start.c:74 synoservice: [pkgctl-MyDomoAtHome] starting ...
2019-11-25T15:54:07+01:00 SYNOLOGY_DS414 synoscgi_SYNO.Core.Package.Control_1_start[10518]: service_start.c:178 synoservice: [pkgctl-MyDomoAtHome] started.
Re: [MyDomoAtHome] Support thread
Posted: Monday 25 November 2019 16:18
by epierre
jluc2808 wrote: ↑Monday 25 November 2019 16:08
this morning myDomoAtHome began crazy and stop working, without any interaction from my side.
when i start the MyDomoAtHome package form synology DSM Gui it starts but return after a few seconds into need to be started
my log synoservice.log show nothing :
2019-11-25T15:54:07+01:00 SYNOLOGY_DS414 synoscgi_SYNO.Core.Package.Control_1_start[10518]: service_start.c:74 synoservice: [pkgctl-MyDomoAtHome] starting ...
2019-11-25T15:54:07+01:00 SYNOLOGY_DS414 synoscgi_SYNO.Core.Package.Control_1_start[10518]: service_start.c:178 synoservice: [pkgctl-MyDomoAtHome] started.
Hmmm.... hard to understand, clearly nothing in the logs.
some ideas:
- is this related to as recent DSM upgrade (seems I had one very recently too)
- is there room left on the filesystem ?
- when it says "started", do you see it with a ps ?
- does it answer again ?
- have you tried a reboot from the unit ?
Re: [MyDomoAtHome] Support thread
Posted: Monday 25 November 2019 16:29
by jluc2808
epierre wrote: ↑Monday 25 November 2019 16:18
jluc2808 wrote: ↑Monday 25 November 2019 16:08
this morning myDomoAtHome began crazy and stop working, without any interaction from my side.
when i start the MyDomoAtHome package form synology DSM Gui it starts but return after a few seconds into need to be started
my log synoservice.log show nothing :
2019-11-25T15:54:07+01:00 SYNOLOGY_DS414 synoscgi_SYNO.Core.Package.Control_1_start[10518]: service_start.c:74 synoservice: [pkgctl-MyDomoAtHome] starting ...
2019-11-25T15:54:07+01:00 SYNOLOGY_DS414 synoscgi_SYNO.Core.Package.Control_1_start[10518]: service_start.c:178 synoservice: [pkgctl-MyDomoAtHome] started.
Hmmm.... hard to understand, clearly nothing in the logs.
some ideas:
- is this related to as recent DSM upgrade (seems I had one very recently too)
- is there room left on the filesystem ?
- when it says "started", do you see it with a ps ?
- does it answer again ?
- have you tried a reboot from the unit ?
- no DSM upgrade from yesterday and today (after the problem append, i have upgraded, 30' ago to check if something change, but no success)
- i have rebooted the syno and domoticz
- there is 2.4To free (but the system gave ma a warning because i'm at 82%)
- when i start, i see the starting, started in the log but nothing else