Wob76
-
Posts
194 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
Gallery
Bug Reports
Documentation
Landing
Posts posted by Wob76
-
-
Thanks dmacias, as responsive as always. That has done the trick for me.
-
Both the Fail and Pass seem to work according to how I set the Thresholds.
But what I actually want is to ONLY see Alert\Warning notifications, I thought selecting "Enable Alert Only Notification" would filter out the Pass notifications, but they still seem to come into my email and pop-ups.
Wob
-
Hi,
I love the addition of notifications, but I am having problems with it set for Alert Only, it seems to send me both pass and fails.
Enable Notifications: Yes
Enable Alert Only Notification: Yes
Ping Threshold (ms): 0 (I also tried 999)
Download Threshold (Mbit/s): 10
Download Threshold (Mbit/s): 5
I have notifications set up for email and pushover,
I revice pass messages via email and pop-up
But fails are sent via email, pop-up AND pushover too.
So it seems the Alert option is only affecting the pushover notification, rather than all notification types.
Wob
-
1 minute ago, saarg said:
Use the log in domoticz instead.
I'll see if I can limit the logging to the container log.
That log doesn't go back very far, I can really only filter back minutes, I have busy logs, so it doesn't really help.
As mention, using grep filters it down, but seems a waste of resources storing 2 lines in the logs.
-
I seem to be getting double logging, I searched domoticz and couldn't find an answer there so thinking it may be related to the docker, if I follow the logs I see entries like..
2018-01-15 09:42:03.199 (Mi Gateway) General/kWh (Fridge Power Usage)
domoticz: (Mi Gateway) General/kWh (Fridge Power Usage)
I usually just grep using ^2018 to reduce the output, but is there a way to stop this behavior?
Thanks,
Wbo
-
First off thanks for the container, I have been running it for ages.
I find since you merged the UI and non UI versions it seems to be fairly resource hungry, much more than the old basic version.
I noticed on the docker page you have a command to run without UI, and I removed the ports from my template so the docker command seems similar, but in the logs it still seems to launches the UI anyway.
My question is, can you stop the UI running so as to free up some resources, I have seen some slowdowns lately and I want to eliminate the UI as the cause.
Thanks,
Wob
-
Sorry, I got a little distracted from this. I had to do a few things on my NAS, it had a few reboots etc, and this started working again, well at least on the last scheduled run, I'll report back if it stops again.
At least at the moment both dates of the container and the host match.
Thanks,
Wob
-
Is anyone else seeing high CPU usage for this container? It started happening to me over the weekend, restarting the container hasn't helped.
CONTAINER CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
couchpotato 858.40% 121.8 MiB / 9.79 GiB 1.21% 62.49 MB / 10.21 MB 299.3 MB / 91.44 MB 7
Strangely the CPU inside the container is fine;
6317 198 abc S 224m 2% 4 13% python /app/couchpotato/CouchPotato.py --config_file=/config/config.ini --data_dir=/config/data
I can't actually see why it is hammering the CPU.
-
My cronjob seems to have stopped halfway through last month and I can't work out why. It will send if I manually run it, just doesn't seem to be kicking off the cron job. Any ideas?
docker exec nowshowing crontab -l
30 23 * * * webreport &> /dev/null
30 10 * * 5 emailreport &> /dev/null
and the snippet from advanced.yaml
report:
interval: 7
report_type: 'both'
email_report_time: '30 10 * * 5'
web_report_time: '30 23 * * *'
extra_details: 'no'
test: 'disable'
-
Will do binhex, as it came with some of the new updates of the container I thought I would post here first, but very possible its an upstream issue, I did search but without any luck.
-
It seems in the last few months Ratios have semi broken.
In Ratio groups I have defined all 8 and set a default group of 3.
I have 2 Ration Rules set;
If "One of torrent's trackers is private" Then Set Ration Group X and set throttle to X.
If "All torrent's trackers are public" Then Set Ration Group Y and set throttle to Y.
This was working all fine at one point, but now it seems that any public torrent doesn't get ANY ratio or throttle set, not even the default ratio is being used.
Is anyone else seeing this? It could be related to magnetic links, as they in history they show as added then deleted, but the new one doesn't always show.
Private Trackers are working fine.
Edit: I should also note that they don't show anything under the "Added" Date\time field.
-
Going to add another request
At the moment the custom icon uploading doesn't work, there is permission issues with 2 folders
/tmp and /var/lib/domoticz/www/images
I did a chmod 777 to both and the upload starts to work.
But even with it working, the new icons will not survive a docker update and the www/images folder is inside the container. Maybe moving the whole image folder into /config, that would fix the custom icons and floorplans.
Thanks,
Wob
-
Hi saarg,
I updated the docker, and I am running the latest beta, it is working with webroot now, with the exception of one vital part, I can't use the "Apply Settings" button, browser logs show a 400 error. I have posted on the domoticz forum so hopefully and easy fix.
Regardless of the issue in domoticz it would be nice to include a way to pass a webroot option via the docker.
Still hoping for a redirect of the floorplan folder into /config, at the moment I have to jump in and copy my file from /config into the folder under www/images/floorplans.
No rush on either fix, and thanks for your work.
Wob
-
1 hour ago, saarg said:
I'll see if I can add the option when I have time. Not going to be this week though.
Thanks saarg, I'm not sure it is going to work though, I edited /etc/services.d/domoticz/run file to include the -webroot and it worked, but the page gets messed up. I'll fire up a fresh docker and try it, to make sure it is not something else I have changed, I'll report back.
-
OK, I am thinking of running the through a reverse proxy to avoid the certificate issue I mention above, but it doesn't seem to like URL rewrites, is it possible to parse commands to the startup command, adding -webroot domoticz should enable me to run it on something other than root.
Or is does anyone already have a working revproxy config with URL rewrite for nginx?
Thanks,
Wob
-
Hi,
I am wanting to use this with the certs from my linuxserver.io letsencrypt container.
I found the following details.
http://www.domoticz.com/wiki/Native_secure_access_with_Lets_Encrypt
Now I have followed the guide to cat the two .pem files from the letsencrypt container, the file /etc/ssl/certs/dhparam.pem doesn't exist (inside this container) so I just copied the DH Parameters from the existing server_cert.pem file.
This all worked, but it obviously will not auto renew, just wondering if anyone has a process for keeping the cert valid?
Thanks,
Wob
-
36 minutes ago, iamMrG said:
Hey, does having it as host still work?
Yes, The docker is still chugging away on my system, added a few new albums last week and they did sync.
Wob
-
Hi,
I am playing around with Domoticz, with some success.
I wanted to play around with the floorplan, it doesn't let you upload a image via the web interface, and the location it looks at is www/images/floorplans. So I can only access it from inside the dockers, and it won't survive a update. So, could this path be mapped to inside the config folder?
Thanks,
Wob
-
On 5/16/2017 at 11:01 AM, Wob76 said:
Hi binhex, sorry for the delays, I lost internet for a week and only got around to testing this again.
I enabled debuging, I just did a restart as a torrent was "stuck" and noticed the IP did not update correctly. I can see the correct ip in the debug logs.
2017-05-16 10:54:25,114 DEBG 'rtorrent-script' stdout output:
[debug] External IP address from tunnel is '46.19.142.226'But the IP showing in rutorrent is still the old IP.
Logs are pretty big with debuging so I have just included a chunk from the end, I hope that is enough, I have changed out my VPN details with xxxx's
Wob
@binhex Any ideas, happened again today, logs look pretty much the same, I can see it detecting a new external IP, but can't see it taking any action.
-
On 5/5/2017 at 9:06 PM, binhex said:
hi Wob, can you please do the same if this occurs, i would like to see whats going on in the log, you might need to turn on debug:-
"OK next time it happens could you please post the supervisord.log it might give me a clue as to what is going on."
Hi binhex, sorry for the delays, I lost internet for a week and only got around to testing this again.
I enabled debuging, I just did a restart as a torrent was "stuck" and noticed the IP did not update correctly. I can see the correct ip in the debug logs.
2017-05-16 10:54:25,114 DEBG 'rtorrent-script' stdout output:
[debug] External IP address from tunnel is '46.19.142.226'But the IP showing in rutorrent is still the old IP.
Logs are pretty big with debuging so I have just included a chunk from the end, I hope that is enough, I have changed out my VPN details with xxxx's
Wob
-
On 4/26/2017 at 10:21 PM, binhex said:
So i have code in place that will trigger the update of the configured external ip address used for rtorrent (in "rutorrent webui/bittorrent/ip host to report to tracker") every time there is a drop of the vpn tunnel, this is done via openvpn "up" script and should run every time the tunnel gets disconnected (due to vpn/isp dropout). Ive just had a look at the external ip my instance has and it matches what im seeing via the proxy, so i will keep an eye out for this occurring and dig into it if i see it happen.
Thanks binhex, it seems to work most of the time, just once every week or 2 it doesn't seem to update. I usually just check whenever I notice no traffic, sometimes it matches othertimes it seems to be a stale IP.
Wob
-
On 4/24/2017 at 4:16 PM, binhex said:
That 10.x.x.x IP is not the external IP, that's the end of the tunnel on a private range, your external IP will be different and is auto configured for rtorrent
Sent from my SM-G900F using Tapatalk
Hi binhex,
Yeah I am aware, but it is the only reference I can see in the logs, I assumed this was the trigger for the script to kick off and change the external IP.
My problem is that intermittently it doesn't seem to update. Every week or so I notice not much is being uploaded, then i go into setting bittorrent and compare the IP show to my actual external IP (I find this by going to whatismyipaddress.com while using the privoxy). I usually then have to manually update it. It doesn't seem to happen with every IP change, but it does happen every week or so.
Not sure where to start diagnosing the issue.
Thanks,
Wob
-
Hi binhex,
I seem to be having problems with the external VPN IP check, my VPN IP changes but it doesn't get updated in rtorrent. The only time I see anything in the logs is during startup.
Any hints on how to debug?
2017-04-21 14:12:46,028 DEBG 'rtorrent-script' stdout output: [info] rTorrent not running [info] rTorrent listening interface IP 0.0.0.0 and VPN provider IP 10.48.10.6 different, marking for reconfigure
Thanks,
Wob
-
That sounds great, improvements are always welcome.
[Support] Linuxserver.io - Domoticz
in Docker Containers
Posted
I am pulling a fresh container in an attempt to diagnose some crashes I am seeing lately. I ran into the problem awhile ago when updating, but forgot to post.
There seems to be an issue with dzVents if you pull the latest version, its looking for it in /config
Error: EventSystem: in /config/dzVents/runtime/dzVents.lua: cannot open /config/dzVents/runtime/dzVents.lua: No such file or directory
I can't actually find dzVents.lua at all, my fix was to git pull dzVents into the config folder.
Wob.