Search found 40 matches
- Thursday 24 April 2025 21:58
- Forum: Other questions and discussions
- Topic: (Solved) External website protection
- Replies: 4
- Views: 2493
Re: External website protection
I suggest you take a look at wireguard.
- Sunday 26 January 2025 22:42
- Forum: General Discussion
- Topic: Proxmox HA option = redundant Domoticz ?
- Replies: 12
- Views: 1076
Re: Proxmox HA option = redundant Domoticz ?
Hate to say it, but storage syncs are only valid when there are no pending writes in the system's memory. As there usually are, in particular databases are susceptible to corruption as a single write tends to touch multiple disk blocks not all of which may have been committed at the time the ...
- Saturday 30 November 2024 11:41
- Forum: Switches and Scenes
- Topic: Keep push button pressed in Domoticz
- Replies: 12
- Views: 1065
Re: Keep push button pressed in Domoticz
Don't try the loop, it'll end up into an endless loop. Walters'solution domoticz.devices('YourSwitch').switchOn.forSec(3) is the one. I actually think your approach is the correct one, though it requires additional thinking. The challenge here is not to switch on and then switch off after some ...
- Friday 22 November 2024 9:31
- Forum: Bugs and Problems
- Topic: How to get P1 meter values every 5 seconds
- Replies: 6
- Views: 1815
Re: How to get P1 meter values every 5 seconds
In my case, P1 measures are used for 2 distinct things 1. to obtain usage and delivery in kWh 2. to compute lost in kWh when my converter is down because voltage is too high For first point, I don't need a measure every 5 seconds; but for second this is important. Seems like an impossible task ...
- Friday 06 September 2024 17:00
- Forum: Other questions and discussions
- Topic: How is value for kWh for specific month calculated?
- Replies: 14
- Views: 1424
Re: How is value for kWh for specific month calculated?
... As a side note, the month (and year) total normally doesn't match that latter value anyway because there is a time gap between day[n].lastvalue and day[n+1].firstvalue. On a yearly base this will cause you to lose a full hour of usage data on older smart meters. There is an open issue related ...
- Thursday 05 September 2024 12:13
- Forum: Other questions and discussions
- Topic: How is value for kWh for specific month calculated?
- Replies: 14
- Views: 1424
Re: How is value for kWh for specific month calculated?
It is normally calculated from the difference in the total counter value. Hmmm... Haven't had any crashes for quite a while, but when I did I noticed that the month reports are created by summing all the day totals from (multi)meter_calendar. i.e. if you have days missing because Domoticz was down ...
- Friday 23 August 2024 22:48
- Forum: Other questions and discussions
- Topic: Fail2Ban for Domoticz fails behind reverse proxy
- Replies: 36
- Views: 3893
Re: Fail2Ban for Domoticz fails behind reverse proxy
Fail2ban limit attempts even if some built-in https server side configuration (as sshd_config MaxStartups) would be more reactive with heavy burst attempts from many IPs than can now reach your home thanks to fiber capacity & make a log based monitoring solution alone much less effective than in ...
- Saturday 17 August 2024 0:42
- Forum: Other questions and discussions
- Topic: Fail2Ban for Domoticz fails behind reverse proxy
- Replies: 36
- Views: 3893
Re: Fail2Ban for Domoticz fails behind reverse proxy
Yes most people are stupid and blindly copy what other stupid people before them wrote. You can have a strong opinion, but I think this goes off topic and with a tone I do not appreciate. The tone, the tone... Does it probit you to learn or does it make you believe stronger in your version of the ...
- Friday 16 August 2024 23:42
- Forum: Other questions and discussions
- Topic: Fail2Ban for Domoticz fails behind reverse proxy
- Replies: 36
- Views: 3893
Re: Fail2Ban for Domoticz fails behind reverse proxy
Just a guess, but I thing you are lucky that you do not have to feed all persons that run scripts from one machine and not via VPN through other countries, but from their own country. Yeah well, you can't possibly tell which machines are corrupted and how they connect to the internet and therefore ...
- Friday 16 August 2024 20:31
- Forum: Other questions and discussions
- Topic: Fail2Ban for Domoticz fails behind reverse proxy
- Replies: 36
- Views: 3893
Re: Fail2Ban for Domoticz fails behind reverse proxy
1. At my websites I saw frequently connections to e.g. https://domain.com/?author=1 from one IP address, directly followed with https://domain.com/?author=2 from another IP address and so on. Must be the same guy :-). So apparently it is possible to spoof IP addresses, or work from multiple (hacked ...
- Sunday 11 August 2024 23:02
- Forum: Other questions and discussions
- Topic: Fail2Ban for Domoticz fails behind reverse proxy
- Replies: 36
- Views: 3893
Re: Fail2Ban for Domoticz fails behind reverse proxy
The other option I thought of is to simply add geoIP also to the virtual machine. My favourite filter. Stops 99% of all the non-intended traffic right at the doorstep, except of course if you happen to live in China. Do make sure to follow the monthly updates to the database and don't forget to ...
- Friday 09 August 2024 21:25
- Forum: Other questions and discussions
- Topic: Fail2Ban for Domoticz fails behind reverse proxy
- Replies: 36
- Views: 3893
Re: Fail2Ban for Domoticz fails behind reverse proxy
I suggest you take a look at ipsets then. Rather than change the iptables rules themselves on the fly this filter allows you to only alter the IP lookup table that is referenced by a static rule in the chain. To be fair, I would never allow dynamic updates to be applied to any of the main chains in ...
- Friday 09 August 2024 17:40
- Forum: Other questions and discussions
- Topic: Fail2Ban for Domoticz fails behind reverse proxy
- Replies: 36
- Views: 3893
Re: Fail2Ban for Domoticz fails behind reverse proxy
Obviously can't work because it is not the remote machine making the TCP connection to the Domoticz server but your HTTP proxy machine. Yes, I can understand that. Banning and blocking takes place based on the domoticz log, which does see the remote address. Blocking does not really happen, because ...
- Friday 09 August 2024 13:04
- Forum: Other questions and discussions
- Topic: Fail2Ban for Domoticz fails behind reverse proxy
- Replies: 36
- Views: 3893
Re: Fail2Ban for Domoticz fails behind reverse proxy
Obviously can't work because it is not the remote machine making the TCP connection to the Domoticz server but your HTTP proxy machine. There is nothing reverse that the proxy can do btw and should you have instructed it to do so anyway you're just wasting CPU time.
- Friday 09 August 2024 12:46
- Forum: General Discussion
- Topic: P1 meter log display
- Replies: 6
- Views: 1788
Re: P1 meter log display
Seems to have been intended differently as settings allows you to choose between dual tariff and dynamic tariff. This setting does in fact work on the report page where it will show the two different shades of blue (and green if also delivering), however on the normal log page the week graph was ...
- Thursday 01 August 2024 20:25
- Forum: Suggestions
- Topic: Add a flag to manage always incrementing total counters
- Replies: 10
- Views: 2061
Re: Add a flag to manage always incrementing total counters
I'm not really following this. I know this thread started from a comment made in another topic about P1 data, which is probably the only meter device that allows numbers to decrease because the report is always considered to be actual. That said, for day reports this should only pose an issue on the ...
- Saturday 27 July 2024 0:01
- Forum: Bugs and Problems
- Topic: P1 meter connection problems
- Replies: 7
- Views: 1001
Re: P1 meter connection problems
There's a generic issue with counters in Domoticz. Values stored in short and long term tables (for example Meter and Meter_Calendar) are based on last interval highest and lowest values difference. If, for some reason (like changing battery, rebooting device or more commonly clearing counter at ...
- Thursday 18 July 2024 17:42
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Upgrade from 2021.1 to 2024.7 issues
- Replies: 13
- Views: 4427
Re: Upgrade from 2021.1 to 2024.7 issues
This is probably unrelated to his issue of TS (giving his repository error). Second you do not need the nowwwpwd option. Just put your local network IP range in the trusted network setting and set basic http authorisation on in the same security settings page. You do not want to know how many ...
- Wednesday 17 July 2024 23:10
- Forum: Installation, Compiling, Permissions, Security and Starting
- Topic: Upgrade from 2021.1 to 2024.7 issues
- Replies: 13
- Views: 4427
Re: Upgrade from 2021.1 to 2024.7 issues
My PI is a Raspberry Pi 2 Model B Rev 1.1 I don't understand what you mind about user ! On the web interfac, on th e same network there's no authentication, and with the command line ./updaterelease, the error is about repository not found I get you. Had the same feeling when moving to a newer ...
- Friday 12 July 2024 10:08
- Forum: DIY Hardware and Protocols
- Topic: P1 Smart Meter with LAN
- Replies: 8
- Views: 2063
Re: P1 Smart Meter with LAN
(P1 Meter is pre DSMR 4.0 - using DSMR 2.2 compatibility) This comment puzzles me. The older message formats do not send a CRC and the log line you quoted here is because they also do not send any version info which causes domoticz to disable some features, including the CRC check. Thus if after ...