• mwittig

    @DavidZH said in Mastervolt Soladin grid connected solar invertor:

    You connect the RS485 gateway to your RPi and with the MySensors plugin you can then get the values from your inverter.

    But then you still need to decode the serial line protocol. At least, I did not find a MySensors sketch for this. Doing the decoding as part of pimatic is possible but not trivial.

    posted in Hardware read more
  • mwittig

    Also happened to me with one of my test setups. So, the sketched solution to make it more robust by keeping the prior version in a backup file (or possibly write changes to temporary file first) is definitely which should be implemented.

    posted in Troubleshooting read more
  • mwittig

    @Gratizzz Following up on my previous post there is no undocumented magic for variable expressions. Thus, I have implemented a subString function which can be used as part of variable expressions. A regular expression (optionally with capture groups and flags) can be provided to filter the substring. Say, you want to return the third and forth character of your variable $someVariable = “aabbcc" this can be done as follows: subString($someVariable, "..(..)").

    The feature will be published with the next release of pimatic.

    posted in General Discussion read more
  • mwittig

    Guys, I beg your pardon and kindly ask you to be patient for a few more days. Chris is off sick since 8 days. I am sure he’ll take care of it as soon as he has recovered. Chris had also been very busy at work and this is why things may have piled up. Sorry about that.

    posted in General Discussion read more
  • mwittig

    @fregger OK, that’s nice, but as far as I know, accessing the data locally via Wifi is not supported. I think you have two options:

    EDIT: Here is another interesting project for interfacing the soladin inverters via RS-232 or USB: http://www.solget.nl. By way of solget, WebSolarLog (WSL) claims to support Solardin inverters. This might be intersting as there is a pimatic plugin for WSL, however, the WSL has not been active for about two years.

    posted in Hardware read more
  • mwittig

    @fregger As far as I understand this the Soladin inverter only provides a RS485 interface (RS-232 if you the PC-Link converter cable. Surprisingly, none of the data logger solutions like SolarView seem to support this inverter :(

    There are a few intersting projects though

    posted in Hardware read more
  • mwittig

    @BlueHill said in Get values from json:

    is there an easy way to get some values from an external json? I want to store two object-values of one array.

    Have a look at jq which “is like sed for JSON data - you can use it to slice and filter and map and transform structured data with the same ease that sed, awk, grep and friends let you play with text” [project description]. You can install it via the OS package manager, e.g., try sudo apt-get install jq on debian/Raspbian.

    posted in General Discussion read more
  • mwittig

    @Gratizzz I don’t think this is possible right now or I am missing something on the undocumented magic of variable expressions.

    If it is not supported it might be added by providing a function, e.g. a function to create a substring from a given variable value or more generally a function which the possibility to match a regular expression and returning the matched string (which may be a substring) of the given value.

    posted in General Discussion read more
  • mwittig

    @leopoldkoenig Can you please post the latest command sequence you have tried? Most likely it still contains an error. If it works from the command line it will work from pimatic too (perhaps with some tweak).

    I remember that I requested it at github but was denied due to the reason that only a handful of users would use it…

    No, the author said in his opinion it is a special feature for a small target group. He would only invest time in it if some more people indicate interest in it. Maybe another developer volunteers to invest time on this (not me) to make a contribution. The feature request (among others) is still pending.

    https://github.com/MMore/pimatic-z-way/issues/26

    posted in Rules and Scripts read more
  • mwittig

    @lxz I think it is a flaw in the current implementation. Normally, each attribute value is held by an instance variable, e.g. “_tag” for the “tag” attribute value. However, this is not the case for “location” as this attribute simply is an alias for “tag”, i.e., getLocation() provides the “_tag” value.

    The problem is the update handler for attribute values which only triggers update events for attributes which have an “_<attribute>” instance variable - which is not the case for location, position, previousLocation, and previousPosition. To mitigate the problem the _emitUpdates() needs to be partially rewritten, or the alias attributes need to removed.

    https://github.com/bstrebel/pimatic-phone/issues/3

    posted in Rules and Scripts read more

Looks like your connection to pimatic forum was lost, please wait while we try to reconnect.