Flight777

Members
  • Posts

    16
  • Joined

  • Last visited

Posts posted by Flight777

  1. 3 minutes ago, Zorb said:

    SUCCESSSSSS!!! :)

     

    'serial' apparantly not being picked up correctly? 

    removed it; which restarts/recreates the container, look in web interface: data immediatly! 

     

    Thanks for your help! 

    If you are going to change that setting let me know if you need me to test something :)


    Good! :)

    The official author of the docker image has a knack of silently adding, changing or removing environment variables with each minor release.... Had this problem before, sometimes really annoying haha. I saw this variable did not exist anymore in the official repo, but because you didn't get an error it was just a guess.. 

    So I'll adjust the template now as well to remove it :P

  2. 2 minutes ago, Zorb said:

    Did an extra test from the console of DSMR; looks to be forwarded well also:

     

    
    > command:
    microcom /dev/ttyUSB0 
    
    > output: 
    /ISK5\2M550T-1013
    
    1-3:0.2.8(50)
    0-0:1.0.0(210429180648S)
    0-0:96.1.1(4530303534303037363738363237383230)
    1-0:1.8.1(000725.696*kWh)
    1-0:1.8.2(000729.424*kWh)
    1-0:2.8.1(000000.000*kWh)
    1-0:2.8.2(000000.000*kWh)
    0-0:96.14.0(0002)
    1-0:1.7.0(00.274*kW)
    1-0:2.7.0(00.000*kW)
    0-0:96.7.21(00005)
    0-0:96.7.9(00002)
    1-0:99.97.0()
    1-0:32.32.0(00000)
    1-0:52.32.0(00000)
    1-0:72.32.0(00000)
    1-0:32.36.0(00001)
    1-0:52.36.0(00001)
    1-0:72.36.0(00001)
    0-0:96.13.0()
    1-0:32.7.0(234.4*V)
    1-0:52.7.0(234.8*V)
    1-0:72.7.0(234.8*V)
    1-0:31.7.0(000*A)
    1-0:51.7.0(001*A)
    1-0:71.7.0(000*A)
    1-0:21.7.0(00.000*kW)
    1-0:41.7.0(00.238*kW)
    1-0:61.7.0(00.034*kW)
    1-0:22.7.0(00.000*kW)
    1-0:42.7.0(00.000*kW)
    1-0:62.7.0(00.000*kW)
    0-1:24.1.0(003)
    0-1:96.1.0(4730303738353635353935353936383230)
    0-1:24.2.1(210429180508S)(00739.963*m3)
    !55EA
    /ISK5\2M550T-1013
    
    1-3:0.2.8(50)
    0-0:1.0.0(210429180649S)
    0-0:96.1.1(4530303534303037363738363237383230)
    1-0:1.8.1(000725.696*kWh)
    1-0:1.8.2(000729.424*kWh)
    1-0:2.8.1(000000.000*kWh)
    1-0:2.8.2(000000.000*kWh)
    0-0:96.14.0(0002)
    1-0:1.7.0(00.283*kW)
    1-0:2.7.0(00.000*kW)
    0-0:96.7.21(00005)
    0-0:96.7.9(00002)
    1-0:99.97.0()
    1-0:32.32.0(00000)
    1-0:52.32.0(00000)
    1-0:72.32.0(00000)
    1-0:32.36.0(00001)
    1-0:52.36.0(00001)
    1-0:72.36.0(00001)
    0-0:96.13.0()
    1-0:32.7.0(234.6*V)
    1-0:52.7.0(235.0*V)
    1-0:72.7.0(234.9*V)
    1-0:31.7.0(000*A)
    1-0:51.7.0(001*A)
    1-0:71.7.0(000*A)
    1-0:21.7.0(00.000*kW)
    1-0:41.7.0(00.249*kW)
    1-0:61.7.0(00.037*kW)
    1-0:22.7.0(00.000*kW)
    1-0:42.7.0(00.000*kW)
    1-0:62.7.0(00.000*kW)
    0-1:24.1.0(003)
    0-1:96.1.0(4730303738353635353935353936383230)
    0-1:24.2.1(210429180508S)(00739.963*m3)
    !96D9
    /ISK5\2M550T-1013
    
    1-3:0.2.8(50)
    0-0:1.0.0(210429180650S)
    0-0:96.1.1(4530303534303037363738363237383230)
    1-0:1.8.1(000725.696*kWh)
    1-0:1.8.2(000729.424*kWh)
    1-0:2.8.1(000000.000*kWh)
    1-0:2.8.2(000000.000*kWh)
    0-0:96.14.0(0002)
    1-0:1.7.0(00.275*kW)
    1-0:2.7.0(00.000*kW)
    0-0:96.7.21(00005)
    0-0:96.7.9(00002)
    1-0:99.97.0()
    1-0:32.32.0(00000)
    1-0:52.32.0(00000)
    1-0:72.32.0(00000)
    1-0:32.36.0(00001)
    1-0:52.36.0(00001)
    1-0:72.36.0(00001)
    0-0:96.13.0()
    1-0:32.7.0(234.8*V)
    1-0:52.7.0(235.2*V)
    1-0:72.7.0(235.0*V)
    1-0:31.7.0(000*A)
    1-0:51.7.0(001*A)
    1-0:71.7.0(000*A)
    1-0:21.7.0(00.000*kW)
    1-0:41.7.0(00.241*kW)
    1-0:61.7.0(00.034*kW)
    1-0:22.7.0(00.000*kW)
    1-0:42.7.0(00.000*kW)
    1-0:62.7.0(00.000*kW)
    0-1:24.1.0(003)
    0-1:96.1.0(4730303738353635353935353936383230)
    0-1:24.2.1(210429180508S)(00739.963*m3)
    !4C3E
    /ISK5\2M550T-1013
    
    1-3:0.2.8(50)
    0-0:1.0.0(210429180651S)
    0-0:96.1.1(4530303534303037363738363237383230)
    1-0:1.8.1(000725.696*kWh)
    1-0:1.8.2(000729.424*kWh)
    1-0:2.8.1(000000.000*kWh)
    1-0:2.8.2(000000.000*kWh)
    0-0:96.14.0(0002)
    1-0:1.7.0(00.275*kW)
    1-0:2.7.0(00.000*kW)
    0-0:96.7.21(00005)
    0-0:96.7.9(00002)
    1-0:99.97.0()
    1-0:32.32.0(00000)
    1-0:52.32.0(00000)
    1-0:72.32.0(00000)
    1-0:32.36.0(00001)
    1-0:52.36.0(00001)
    1-0:72.36.0(00001)
    0-0:96.13.0()
    1-0:32.7.0(234.6*V)
    1-0:52.7.0(235.0*V)
    1-0:72.7.0(235.3*V)
    1-0:31.7.0(000*A)
    1-0:51.7.0(001*A)
    1-0:71.7.0(000*A)
    1-0:21.7.0(00.000*kW)
    1-0:41.7.0(00.241*kW)
    1-0:61.7.0(00.033*kW)
    1-0:22.7.0(00.000*kW)
    1-0:42.7.0(00.000*kW)
    1-0:62.7.0(00.000*kW)
    0-1:24.1.0(003)
    0-1:96.1.0(4730303738353635353935353936383230)
    0-1:24.2.1(210429180508S)(00739.963*m3)
    !25F4
    /ISK5\2M550T-1013
    
    1-3:0.2.8(50)
    0-0:1.0.0(210429180652S)
    0-0:96.1.1(4530303534303037363738363237383230)
    1-0:1.8.1(000725.696*kWh)
    1-0:1.8.2(000729.424*kWh)
    1-0:2.8.1(000000.000*kWh)
    1-0:2.8.2(000000.000*kWh)
    0-0:96.14.0(0002)
    1-0:1.7.0(00.275*kW)
    1-0:2.7.0(00.000*kW)
    0-0:96.7.21(00005)
    0-0:96.7.9(00002)
    1-0:99.97.0()
    1-0:32.32.0(00000)
    1-0:52.32.0(00000)
    1-0:72.32.0(00000)
    1-0:32.36.0(00001)
    1-0:52.36.0(00001)
    1-0:72.36.0(00001)
    0-0:96.13.0()
    1-0:32.7.0(234.6*V)
    1-0:52.7.0(235.0*V)
    1-0:72.7.0(235.1*V)
    1-0:31.7.0(000*A)
    1-0:51.7.0(001*A)
    1-0:71.7.0(000*A)
    1-0:21.7.0(00.000*kW)
    1-0:41.7.0(00.240*kW)
    1-0:61.7.0(00.034*kW)
    1-0:22.7.0(00.000*kW)
    1-0:42.7.0(00.000*kW)
    1-0:62.7.0(00.000*kW)
    0-1:24.1.0(003)
    0-1:96.1.0(4730303738353635353935353936383230)
    0-1:24.2.1(210429180508S)(00739.963*m3)
    !4EB0
    /ISK5\2M550T-1013
    
    1-3:0.2.8(50)
    0-0:1.0.0(210429180653S)
    0-0:96.1.1(4530303534303037363738363237383230)
    1-0:1.8.1(000725.696*kWh)
    1-0:1.8.2(000729.424*kWh)
    1-0:2.8.1(000000.000*kWh)
    1-0:2.8.2(000000.000*kWh)
    0-0:96.14.0(0002)
    1-0:1.7.0(00.270*kW)
    1-0:2.7.0(00.000*kW)
    0-0:96.7.21(00005)
    0-0:96.7.9(00002)
    1-0:99.97.0()
    1-0:32.32.0(00000)
    1-0:52.32.0(00000)
    1-0:72.32.0(00000)
    1-0:32.36.0(00001)
    1-0:52.36.0(00001)
    1-0:72.36.0(00001)
    0-0:96.13.0()
    1-0:32.7.0(234.5*V)
    1-0:52.7.0(235.0*V)
    1-0:72.7.0(235.0*V)
    1-0:31.7.0(000*A)
    1-0:51.7.0(001*A)
    1-0:71.7.0(000*A)
    1-0:21.7.0(00.000*kW)
    1-0:41.7.0(00.242*kW)
    1-0:61.7.0(00.032*kW)
    1-0:22.7.0(00.000*kW)
    1-0:42.7.0(00.000*kW)
    1-0:62.7.0(00.000*kW)
    0-1:24.1.0(003)
    0-1:96.1.0(4730303738353635353935353936383230)
    0-1:24.2.1(210429180508S)(00739.963*m3)
    !36C5
    /ISK5\2M550T-1013

     

     

    Did you already try it with the variable removed?

    If yes, could you make a screenshot of the DSMR Admin menu >>> Datalogger Configuration

  3. 1 minute ago, Zorb said:

    Thanks for the 12.5 image!! The settings that come with it by default are the same I did earlier. Perhaps postgress 10 template had some issues.

    Anyways; Just to make sure I deleted al containers, added the 12.5 postgress from your repo, and after that added the dsmr one again (with a added custom device of /dev/ttyUSB0 )

     

    Connection to postgress works perfectly now. And dsmrreader starts up with no errors. 

    Yet still no data; do you know of a way to check what de dsmr deamon is doing? 


    You are sure /dev/ttyUSB0 is a path that exists for UNRAID itself as well? You can check this by opening your system log. remove USB from your computer and plug it back it. You should then in the log see to which path it gets assigned.

     

  4. 2 hours ago, Zorb said:

    ps:

    image.thumb.png.a00d0b983d98eb883470d0497b9f9ca7.png

     

    DB name seems to be dsmrdb instead of dsmreaderDB  

     

    The new postgres template is up and processed by the community plugins app now. So you should be able to find it, look for "Postgres12.5" :)

    Regarding your above comment, let me check, that's written a bit confusin indeed. As long as you make sure the DB you create with the Postgres container is the same as you give as parameter to DSMRREADER you are good to go.

  5. 17 minutes ago, Zorb said:

     

    Even when I add device in the ui of unraid, still does not seem to do anything in DSMReader webui:

     

    See end command now adds the device:

    
    root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='DSMRReader' --net='bridge' -e TZ="Europe/Berlin" -e HOST_OS="Unraid" -e 'DJANGO_DATABASE_HOST'='192.168.178.60' -e 'DSMRREADER_ADMIN_USER'='admin' -e 'DSMRREADER_ADMIN_PASSWORD'='dsmrreader' -e 'DATALOGGER_MODE'='standalone' -e 'DATALOGGER_INPUT_METHOD'='serial' -e 'DATALOGGER_SERIAL_PORT'='/dev/ttyUSB0' -e 'DATALOGGER_SERIAL_BAUDRATE'='115200' -e 'VIRTUAL_HOST'='localhost' -e 'DJANGO_DATABASE_PORT'='5432' -e 'DJANGO_DATABASE_NAME'='dsmrdb' -e 'DATALOGGER_SLEEP'='10' -e 'PUID'='99' -e 'PGID'='100' -e 'SD_USER'='nobody' -e 'SD_GROUP'='users' -p '7777:80/tcp' -v '/mnt/user/appdata/dsmr-reader/backups':'/home/dsmr/app/backups':'rw' --device='/dev/ttyUSB0' 'xirixiz/dsmr-reader-docker'
    81968b755bf127210e7d0ccd2cbdd12e4c1af42bda4c33a93ee1b228135f8bd6


    In the console of the DSMR container I can see that it now indeed has a /dev/ttyUSB0

     

    .. but still no data. Has this been tested on serial, or are you doing networkbased yourself? 


    You have to add the device itself, that's true, I said that in the description as well, but I can clarify that more :P This is because I can not make the device parameter optional in Unraid templates, so for people that would not need it the template would otherwise error out.

    First observation that I now realise, you are trying to use Postgres 10, while only 11 or 12 is supported officially by DSMRReader. I just created a net template for 12.5 which I'm using myself, should be up in the Community Repository within the hour. Please try that one after filling out the user, pass and db for dsmrreader in the parameters.

    Now second question regarding your smart meter, do you know what type it is and which DSMR version it supports? Because it might be your baudrate needs to be different. The settings in the description are for v5 protocol, but could be yours is older. 

    Could you maybe also attached the log the container is spitting out when you try and start it up (click on the container logo ---> logs)?

  6. 23 minutes ago, Zorb said:

    Thanks for responding so quickly!

    I've managed to get it working now :)


    - I deleted everything and started from scratch.

    - Left postgress (10) template on default settings in the template (postgres/postgres/postgres for user/pass/db

    - Used pgadmin4 to create a user 'dsmrreader' 

    - Used pgadmin4 to create a db 'dsmrdb'

     

    Started dsmrreader container again and it works now. (I thought I could just fill out the postgress template to have dsmrreader etc; but perhaps this should've been the way all along) 

    Glad it's working, but you should not have to do that manually. The containter variables for Postgress shoukd work... 

    Can you still show me your config of that container, then I can help tto atleast double check ;)

  7. Hi there,

    Quite happy user now for about 5-6 months with Unraid, after moving from a Ubuntu server. I do have on teething issue left however which still puzzles me and I hope someone can point me in the right direction for further troubleshooting.

    Every now and then, the CPU and RAM spike to 100% usage. This normally results in my Home Assistant VM crashing and all Docker containers being unresponsive. After 5-10 minutes it seems to sort itself out and returns to normal. This happens regularly (weekly) but not on very specific intervals.

    The relevant system specs:

    - Intel® Core™ i5-4690K CPU @ 3.50GHz

    - 24GB DDR3 RAM

     

    I've attached the diagnostics reports.

     

    Anyone could point me to some directions I could look at?

     

    Thanks!


     

    ls15mainframe-diagnostics-20210307-1129.zip

  8. Hi Banu

    16 minutes ago, Banuseka said:

    I already use a redis docker for nextcloud, and NC wants to use redis with a password. that was my intention instead of setting up a second redis docker ;)

     

    I'll prob. go for a feature request.

     

    Best, Banu


    For Redis, best practice is actually to give every application you want an own Redis instance, so a new Redis container. They have a very light footprint anyway.

    • Thanks 1
  9. 4 minutes ago, Banuseka said:

    HI @Flight777

     

    can you advise on how to pass a password to a password-protected redis docker?

     

    Best, Banu


    Hi Banu,

    This is not possible in this container, you have to manage the Redis settings via the Barcodebuddy Webui and this does not allow for password entry yet. You can request this feature from the original developer on Github here: https://github.com/Forceu/barcodebuddy

    However, why would you want to password protect your Redis if you do not expose it to the outside world? Especially for a barcode scanner, which is a secondary function, I would just use Redis for this specific use without a password for now :)

  10. Hi Bugster,

    Thanks for reaching out :)

    Shadowsocks works over both TCP and UDP so Swag (NGINX) will not be able to direct UDP traffic. There are ways, with the V2ray plugin installed, but I'm not familiar with them, maybe someone else can comment: https://github.com/shadowsocks/v2ray-plugin/issues/188

    However, to make Shadowsocks work, you will have to forward the port (TCP and UDP) 8388 (or any other port you set in the "PORT" variables) in your router/firewall to the UNRAID IP., so you can connect via your public IP or domainname.

     

    You can then install a client and connect to Shadowsocks with your set details: https://shadowsocks.org/en/download/clients.html
     

    Shadowsocks takes care of encrypting the connection, hence the encryption method specified.


    Here is another good write-up: https://upcloud.com/community/tutorials/install-shadowsocks-libev-socks5-proxy/ 

  11. Hi all,

    Being a relative new user to UNRAID, but having worked with docker extensively myself before, I've find that some useful docker applications do not yet have a working UNRAID template in the app store, or there are very outdated versions that do not work anymore without major adjustments.

    So that's why I've decided to contribute by creating these templates under the "Just Works" branding, and this support thread will still evolve further while I find the time. Similarly to my GITHUB, which is still very basic: https://github.com/Flight777/unraid_justworks_templates

    List of containers:

     

    Feel free to ask away if you need any help setting up one of my templates!

     

    Kind regards,

    Rob

    • Like 1
  12. Is there anything special I need to do to get the schedules tasks running?

    I've installed REDIS (with no password) so that should be fine, but I'm not sure how to check if it connected correctly to REDIS (I don't see anything in the logs).

    Nonetheless, the schedules tasks don't seem to do anything, even after putting the time slightly in the future, not run is triggered:image.thumb.png.98185e54f3697cf0aed4031cdb9ba0aa.png