Search found 31 matches
- Sunday 12 February 2023 16:18
- Forum: Utility
- Topic: Manually enter energy data
- Replies: 5
- Views: 914
Manually enter energy data
Hi all, I have a non-smart meter on a remote location which I manually read out every few weeks. Like the title says, I would like to manually enter data into a virtual energy device so I can roughly track how much energy I am using. I understand this won't be precise, but all I really care about is ...
- Monday 23 January 2023 18:51
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
For anyone also having the 'error loading module 'ssl .https' error, try installing the lua-sec package. This solved it for me on a fresh 64-bit Ubuntu Server 22.04 install.
- Sunday 22 January 2023 13:07
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
Update: I also tested this with a clean Ubuntu 20.04 install, and I have the same issues.
@jvdz do you mind if I send you a PM to troubleshoot this further?
@jvdz do you mind if I send you a PM to troubleshoot this further?
- Saturday 21 January 2023 20:52
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
Yep, I did. I used the command you gave earlier, double checking if I got the correct branch.
The only things I changed (apart from the config variables) is the home dir, from 'pi' to my actual username.
Not sure if it is related, but can the libssl version I needed for Domoticz cause this error?
The only things I changed (apart from the config variables) is the home dir, from 'pi' to my actual username.
Not sure if it is related, but can the libssl version I needed for Domoticz cause this error?
- Saturday 21 January 2023 18:07
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
Hi all, I am trying to install this bot on a Ubuntu Server 22.04 install. I installed lua-json and lua-socket, but it complains that '/usr/bin/lua is not found'. When installing lua.5.2 this error disappears, but I get another error: module 'ssl.https' not found'. This is the same error I got a few ...
- Sunday 01 January 2023 19:07
- Forum: Bash / PowerShell / Batch etc.
- Topic: Converting output to Domoticz smart meter
- Replies: 16
- Views: 1754
Re: Converting output to Domoticz smart meter
Hi FireWizzard,
I think Node-RED would be the 'cleanest' since I already have it running on my Raspberry Pi, especially if you think we can get it working.
Can I PM you to discuss it further (in Dutch)?
I think Node-RED would be the 'cleanest' since I already have it running on my Raspberry Pi, especially if you think we can get it working.
Can I PM you to discuss it further (in Dutch)?
- Sunday 01 January 2023 10:26
- Forum: Bash / PowerShell / Batch etc.
- Topic: Converting output to Domoticz smart meter
- Replies: 16
- Views: 1754
Re: Converting output to Domoticz smart meter
Looks like I have to temporarily store the output somewhere else, in order for Domoticz to not pick up the wrong signal, right? I tried your example command, replacing the <rawmessage> with /dev/ttyUSB0 (which is where the output gets stored). Running it before/after my script 'dumps' the original ...
- Saturday 31 December 2022 22:16
- Forum: Bash / PowerShell / Batch etc.
- Topic: Converting output to Domoticz smart meter
- Replies: 16
- Views: 1754
Re: Converting output to Domoticz smart meter
Hi FireWizzard, The IR-USB converter does not produce any data without the commands in my script 'asking' the Iskra to send the data. I do not have Node Red running on the VM I am testing this on, but I can off course install it. All I am really interested right now is in the total consumed and ...
- Saturday 31 December 2022 21:47
- Forum: Bash / PowerShell / Batch etc.
- Topic: Converting output to Domoticz smart meter
- Replies: 16
- Views: 1754
Re: Converting output to Domoticz smart meter
Hi FireWizzard, 1) I have a Iskra digital meter which I can readout using a IR-USB converter. I put the commands sent earlier (see above) in a script and schedule it via crontab. When I execute the script, it produces the output as sent above in the /dev/ttyUSB0 interface. 2) Not sure what you mean ...
- Saturday 31 December 2022 20:41
- Forum: Bash / PowerShell / Batch etc.
- Topic: Converting output to Domoticz smart meter
- Replies: 16
- Views: 1754
Re: Converting output to Domoticz smart meter
After some more digging, it seems that my converter gives the outputs in another format than Domoticz tried to read it. I downloaded the source code and re-built Domoticz with the values changed according to my output, but Domoticz still seems to be unable to read it correctly. This time, it even ...
- Saturday 31 December 2022 17:57
- Forum: Bash / PowerShell / Batch etc.
- Topic: Converting output to Domoticz smart meter
- Replies: 16
- Views: 1754
Re: Converting output to Domoticz smart meter
I do not have much knowledge of scripting and stuff like this, but my output seems to be missing some of the parameters normally included with the response of a smart meter. Is that a problem, or does Domoticz ignore those? Another difference that might be a problem is that my output also includes ...
- Saturday 31 December 2022 17:12
- Forum: Bash / PowerShell / Batch etc.
- Topic: Converting output to Domoticz smart meter
- Replies: 16
- Views: 1754
Re: Converting output to Domoticz smart meter
Thank you for your answer! I have tried adding the device in Domoticz, but the readings are not right at all. I only see a value of 510.000 without any other data. Here are the lines of code I am using in a scheduled script to pull the data: stty -F /dev/ttyUSB0 300 -parodd cs7 -cstopb parenb -ixoff ...
- Saturday 31 December 2022 13:41
- Forum: Bash / PowerShell / Batch etc.
- Topic: Converting output to Domoticz smart meter
- Replies: 16
- Views: 1754
Converting output to Domoticz smart meter
Hi all, I have a digital (not smart) meter which I can read out via a IR adapter. I have a few lines of code that send the output to /dev/ttyUSB0. Unfortunately, it has a bunch of other data along with it, so I can't just convert it to a variable and use the API. In the output, I have added the ...
- Saturday 02 April 2022 12:39
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
I meant to use the word 'active' ;) Is it even worth upgrading to Buster, since I already have a working install? I mean sooner or later I will need to, but are most of the bugs worked out? I'll just place back me old SD card for now. One question that I do ave, however, is how power sensors can be ...
- Saturday 02 April 2022 12:27
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
I know. I just tried re-installing them to see if that changes anything. So this is the case: I was running Buster 32-bit. Decided I wanted to upgrade to a newer release, and wy not also get the 64-bit version, for a bit of future proofing, since I have a PI4. Before upgrading, I had the bot running ...
- Saturday 02 April 2022 12:19
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
OK... Seems like it is set to require those files instead of being optional, judging by the last part of the dtb.log file. Do you know of other things I can try? Already tried removing those packages with apt purge and re-installing them, that also did not work.
- Saturday 02 April 2022 12:15
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
Okay, so how can I proceed installing this? I think I've tried pretty much everything I can?
- Saturday 02 April 2022 12:12
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
Yes, I ran both the apt install commands listed on the github page. I also tried rebooting, also did not work...
- Saturday 02 April 2022 12:06
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
Okay. The contents of dtgbot.log are: ### Initialialisation process Failed: Error-->/home/pi/dtgbot/dtgbot.lua:44: module 'ssl.https' not found: no field package.preload['ssl.https'] no file '/home/pi/dtgbot/ssl/https.lua' no file '/home/pi/dtgbot/ssl/https.cfg' no file '/usr/local/share/lua/5.2/ssl ...
- Saturday 02 April 2022 12:00
- Forum: Third party and supplementary tools
- Topic: dtgbot - Domoticz TeleGram BOT
- Replies: 581
- Views: 113343
Re: dtgbot - Domoticz TeleGram BOT
I ran that command, offcourse removing the old folder before running it, and now the log gives me a diffrent error: /usr/bin/lua5.2: /home/pi/dtgbot/dtgbot.lua:97: Terminate DTGBOT as the initialisation failed, which frst needs to be fixed. stack traceback: [C]: in function 'error' /home/pi/dtgbot ...