Implements HsRqHeader and HsRsHeader #260

Referenced to #260 issue.
Please take a look at this PR implementingHsRqHeader and HsRsHeader + relevant test.
The constructor for both accepts final Matcher<? extends Map<? extends CharSequence, ? extends CharSequence>> mtchr) which is different from what was originally reported, but that was already discussed with reporter.
Additionally Map parametrisation was changed from String to CharSequence since it is not possible to have wild card with final String class.
Note the usage
new HmRsHeader(Matchers.hasEntry("content-encoding", "gzip"))
which expects lower value header name in order to work correctly.

@ekondrashev Thanks, someone will review your pull request soon

@carlosmiranda review this one, please

@ekondrashev Some comments above. Also:

Revise the title of the ticket. You mentioned implementing Hs* classes but your new classes are prefixed with Hm*.
Document in the Javadoc the need to use all-lowercase header names when adding matchers. Right now the users of this API has no idea why that is, and it will look like a bug to them.

@ekondrashev Please update me on the status here.

@carlosmiranda the initial ticket (#260) requires clarification on requirement, can't proceed here.

@ekondrashev any updates here?

@carlosmiranda pinging original poster and Yegor for the updates on the requirement.

@ekondrashev @yegor256 are we proceeding with this PR?

@ekondrashev sorry about the delay. I updated the description of the task in #260

@ekondrashev any updates?

@carlosmiranda looking into new requirements provided by Yegor. Will prepare updates shortly.

@carlosmiranda please take a look at new updates covering latest requirement changes and your comments.

@ekondrashev just a few more minor comments on my end regarding puzzle format.

@carlosmiranda thx, done!

@rultor merge please

@rultor merge please

@carlosmiranda Thanks for your request. @yegor256 Please confirm this.

@ekondrashev some comments from me, all about indentations. looks like you have to configure your IDE to use 4 spaces, always, no exceptions

@yegor256 fixed the indentation issue, thx.

@yegor256 could you please take a look if anything is fixed now?

@rultor try to merge

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge

@ekondrashev @yegor256 Oops, I failed. You can see the full log here (spent 12min)
[ERROR] *  file-manager/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:57 min
[INFO] Finished at: 2015-10-04T23:17:32+00:00
[INFO] Final Memory: 51M/450M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project takes: failed to get report for org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.9:run (default) on project takes: 1 build failed. See console output above for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project takes: failed to get report for org.codehaus.mojo:cobertura-maven-plugin
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: failed to get report for org.codehaus.mojo:cobertura-maven-plugin
	at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:156)
	at org.apache.maven.plugins.site.render.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:239)
	at org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:124)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 19 more
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.9:run (default) on project takes: 1 build failed. See console output above for details.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeForkedExecutions(DefaultLifecycleExecutor.java:173)
	at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildReportPlugin(DefaultMavenReportExecutor.java:309)
	at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:151)
	... 23 more
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details.
	at org.apache.maven.plugin.invoker.InvokerSession.handleFailures(InvokerSession.java:258)
	at org.apache.maven.plugin.invoker.InvokerMojo.processResults(InvokerMojo.java:67)
	at org.apache.maven.plugin.invoker.AbstractInvokerMojo.execute(AbstractInvokerMojo.java:742)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 29 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

@yegor256 it is org.takes.it.fm.AppTest that fails:
Tests in error: [INFO] AppTest.justWorks:63 » NoClassDefFound net/sourceforge/cobertura/coveragedata/...

Is it known issue?

@ekondrashev haven't seen it before. but the master is clean, right?

@yegor256 not sure I understood your question regarding master. Could you please retry merging? Perhaps it is ghost test failure?

@rultor try to merge

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge

@ekondrashev @yegor256 Oops, I failed. You can see the full log here (spent 13min)
[ERROR] *  file-manager/pom.xml
[INFO] -------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:19 min
[INFO] Finished at: 2015-10-06T00:12:29+00:00
[INFO] Final Memory: 53M/461M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project takes: failed to get report for org.codehaus.mojo:cobertura-maven-plugin: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.9:run (default) on project takes: 1 build failed. See console output above for details. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.4:site (default-site) on project takes: failed to get report for org.codehaus.mojo:cobertura-maven-plugin
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:361)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: failed to get report for org.codehaus.mojo:cobertura-maven-plugin
	at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:156)
	at org.apache.maven.plugins.site.render.AbstractSiteRenderingMojo.getReports(AbstractSiteRenderingMojo.java:239)
	at org.apache.maven.plugins.site.render.SiteMojo.execute(SiteMojo.java:124)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 19 more
Caused by: org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-invoker-plugin:1.9:run (default) on project takes: 1 build failed. See console output above for details.
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeForkedExecutions(DefaultLifecycleExecutor.java:173)
	at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildReportPlugin(DefaultMavenReportExecutor.java:309)
	at org.apache.maven.reporting.exec.DefaultMavenReportExecutor.buildMavenReports(DefaultMavenReportExecutor.java:151)
	... 23 more
Caused by: org.apache.maven.plugin.MojoFailureException: 1 build failed. See console output above for details.
	at org.apache.maven.plugin.invoker.InvokerSession.handleFailures(InvokerSession.java:258)
	at org.apache.maven.plugin.invoker.InvokerMojo.processResults(InvokerMojo.java:67)
	at org.apache.maven.plugin.invoker.AbstractInvokerMojo.execute(AbstractInvokerMojo.java:742)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
	... 29 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

@yegor256 I've rechecked master locally - it builds with success, same for the current branch. Not sure how to proceed here. As I understand the issue appears after current branch being merged to master, right?

@ekondrashev yes, seems to be so. How to fix it - don't know. It's your branch :)

@yegor256 could you please try merging, I've resented with master, hopefully it will help to resolve this weird cnf issue.

@yegor256 btw is it ok that it says

The command "jdk_switcher use oraclejdk6" failed and exited with 1 during .
for jdk6?

@ekondrashev no, it's not OK, it was a typo, fixed in e3f062a

@rultor try to merge

@rultor try to merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge

@ekondrashev @yegor256 Oops, I failed. You can see the full log here (spent 14min)
INFO: "reading src/main/java/org/takes/facets/auth/social/XeFacebookLink.java..."
INFO: "reading src/main/java/org/takes/facets/auth/social/XeGithubLink.java..."
INFO: "reading src/main/java/org/takes/facets/auth/social/XeGoogleLink.java..."
INFO: "reading src/main/java/org/takes/facets/auth/social/package-info.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/Fallback.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/FbChain.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/FbEmpty.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/FbFixed.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/FbStatus.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/FbWrap.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/RqFallback.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/TkFallback.java..."
INFO: "reading src/main/java/org/takes/facets/fallback/package-info.java..."
INFO: "reading src/main/java/org/takes/facets/flash/RsFlash.java..."
INFO: "reading src/main/java/org/takes/facets/flash/TkFlash.java..."
INFO: "reading src/main/java/org/takes/facets/flash/XeFlash.java..."
INFO: "reading src/main/java/org/takes/facets/flash/package-info.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkAnonymous.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkAuthenticated.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkContentType.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkEncoding.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkFixed.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkHitRefresh.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkMethods.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkParams.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkRegex.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkTypes.java..."
INFO: "reading src/main/java/org/takes/facets/fork/FkWrap.java..."
INFO: "reading src/main/java/org/takes/facets/fork/Fork.java..."
INFO: "reading src/main/java/org/takes/facets/fork/MediaType.java..."
INFO: "reading src/main/java/org/takes/facets/fork/MediaTypes.java..."
INFO: "reading src/main/java/org/takes/facets/fork/RqRegex.java..."
INFO: "reading src/main/java/org/takes/facets/fork/RsFork.java..."
INFO: "reading src/main/java/org/takes/facets/fork/TkConsumes.java..."
INFO: "reading src/main/java/org/takes/facets/fork/TkFork.java..."
INFO: "reading src/main/java/org/takes/facets/fork/TkMethods.java..."
INFO: "reading src/main/java/org/takes/facets/fork/TkProduces.java..."
INFO: "reading src/main/java/org/takes/facets/fork/TkRegex.java..."
INFO: "reading src/main/java/org/takes/facets/fork/package-info.java..."
INFO: "reading src/main/java/org/takes/facets/forward/RsFailure.java..."
INFO: "reading src/main/java/org/takes/facets/forward/RsForward.java..."
INFO: "reading src/main/java/org/takes/facets/forward/TkForward.java..."
INFO: "reading src/main/java/org/takes/facets/forward/package-info.java..."
INFO: "reading src/main/java/org/takes/facets/hamcrest/HmRqHeader.java..."
/var/lib/gems/1.9.1/gems/pdd-0.15/lib/pdd/source.rb:144:in `rescue in puzzles': ["in /home/r/repo/src/main/java/org/takes/facets/hamcrest/HmRqHeader.java", #<PDD::Error: Too many spaces>] (PDD::Error)
	from /var/lib/gems/1.9.1/gems/pdd-0.15/lib/pdd/source.rb:142:in `puzzles'
	from /var/lib/gems/1.9.1/gems/pdd-0.15/lib/pdd.rb:97:in `block (3 levels) in xml'
	from /var/lib/gems/1.9.1/gems/pdd-0.15/lib/pdd.rb:96:in `each'
	from /var/lib/gems/1.9.1/gems/pdd-0.15/lib/pdd.rb:96:in `block (2 levels) in xml'
	from /var/lib/gems/1.9.1/gems/nokogiri-1.6.5/lib/nokogiri/xml/builder.rb:391:in `call'
	from /var/lib/gems/1.9.1/gems/nokogiri-1.6.5/lib/nokogiri/xml/builder.rb:391:in `insert'
	from /var/lib/gems/1.9.1/gems/nokogiri-1.6.5/lib/nokogiri/xml/builder.rb:375:in `method_missing'
	from /var/lib/gems/1.9.1/gems/pdd-0.15/lib/pdd.rb:95:in `block in xml'
	from /var/lib/gems/1.9.1/gems/nokogiri-1.6.5/lib/nokogiri/xml/builder.rb:293:in `initialize'
	from /var/lib/gems/1.9.1/gems/pdd-0.15/lib/pdd.rb:93:in `new'
	from /var/lib/gems/1.9.1/gems/pdd-0.15/lib/pdd.rb:93:in `xml'
	from /var/lib/gems/1.9.1/gems/pdd-0.15/bin/pdd:90:in `<top (required)>'
	from /usr/local/bin/pdd:23:in `load'
	from /usr/local/bin/pdd:23:in `<main>'

@yegor256 there are a lot of warnings treated was errors during openjdk6 build not related to classes that were changed in scope of this PR. Is there a way to finally merge this PR:)?

@rultor try to merge again

@rultor try to merge again

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor try to merge again

@yegor256 Done! FYI, the full log is here (took me 9min)

@ypshenychka please, review this task for compliance with our quality rules

@rultor please deploy

@rultor please deploy

@davvd OK, I'll try to deploy now. You can check the progress here

@rultor please deploy

@davvd Done! FYI, the full log is here (took me 8min)

@davvd Quality is good here.

@davvd Quality is good here.

@ypshenychka thanks a lot

@carlosmiranda I added 10 mins to @ypshenychka (for QA review) in transaction 67920469. 30 mins sent to your balance (ID 67920474), many thanks! It took 3938 hours and 32 mins.. extra minutes for review comments (c=15). added +30 to your rating, now it is equal to +3879


(chromium) Snapshots Build embedded & --pre package

@AdmiringWorm @pascalberger @majkinetor @gep13
Description

This will continue the Chromium Snapshots Builds for those that want the un-Stable original builds from the Chromium Authors.
This package is also an embedded package.
Motivation and Context
Why is this change required? What problem does it solve?
This Continues the Chromium Snapshots Build package for those that might have thought it had staled again.

How Has this Been Tested?
Please describe in detail how you tested your changes.
Tested on Two computer systems for installation/uninstallation and in AppVeyor for building of the package

Screenshot (if appropriate, usually isn't needed):
Types of changes

[X] Add embedding of package into the original Chromium Snapshots Build
[X] Chromium Snapshots Build as a --pre package
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package have been migrated from another repository)

Checklist:

[X] My code follows the code style of this repository.
[X] My change requires a change to documentation (this mean usually the notes in the description of a package).
[X] I have updated the documentation accordingly (this mean usually the notes in the description of a package).
[X] All files is up to date with the latest Contributing Guidelines
[X] The added/modified package passed install/uninstall in the chocolatey test environment.
[ ] The changes only affect a single package (not including meta package).

This AppVeyor is using an older version of chocolatey version <IP_ADDRESS>
I'm pretty sure that 2017-10-29 02:03:34,709 [DEBUG] - Elevating Permissions and running [""C:\Program Files (x86)\Chromium\Application\64.0.3253.0\Installer\setup.exe" " --uninstall --system-level --force-uninstall ]. This may take a while, depending on the statements.
will not be the line passed to uninstall the package in the latest version of chocolatey.

I'm going to close this for now. I'll bring it back at a later time.


Metin 2 - Constant crashing issue

Describe the bug

The game runs fine for a few minutes or sometimes even seconds until it goes into "Not Responding" state very often once you move around or use basic Remix functionality after leaving the game process "unfocused" (?), also might be terrain-related because i can't seem to replicate the crash in the "indoor" maps (in-game levels/maps that dont contain sky and terrain, which are built on meshes - like dungeons)
dxvk-remix-458b010-347-release
bridge-remix-1126a3c-40-release
RTX 3090
546.31
Metin 2 private server build "InsomniaMT2" - Download/Registration available here https://insomniamt2.pl/ (using a translator should help)

Attach files!

NvRemixBridge.log
d3d9.log
InsomniaMT2_d3d9.log
rtx.conf.txt
GPU Dumps

To Reproduce
Steps to reproduce the crash:

Download the game client from a hosting of choice https://insomniamt2.pl/download
Register a game account on https://insomniamt2.pl/account/register
Launch _Autopatcher_InsomniaMT2.exe to patch the game first
Install RTX Remix
Open InsomniaMT2.exe to launch the game
Upon launching the game, you will have to mark some textures as UI in order to see anything
Enter your account credentials to login, create a character (Stwórz Postać) and enter the game (Wybierz Postać button or Enter key)
Straight after loading into the game, go to game settings (bottom right corner of the screen), select "Opcje Systemowe", in the pop up window select Kamera - "Dalej" (this allows you to move the camera further from the character), Mgła - "Światło" (this increases the rendering distance) and F.O.V - "Daleko" (increases camera FOV)
Press TAB to bring up a teleportation menu and choose "Jinno M1" level (bottom right corner of the map)
Make necesarry Game Setup steps - Categorize sky, UI and most importantly, terrain textures (the important ones are the Base Color ones and to prevent terrain from flickering mark additional lightmap textures)
In Parameter Tuning, make sure to have Scene Z-Up enabled
Enable Runtime Terrain Baking, camera navigation binds are as follows - R key zooms in, F key zooms out, Right Mouse Button to rotate the view
Run around the map and wait for it to crash
13.1. Another way that i managed to replicate this, is to not move the character/camera view for around ~30 seconds or ~1-3 minutes and then move the camera around in a one, fast move using right mouse button

If the crash is somehow indeed related to terrain, Here could be some useful informations about how the terrain is handled ingame

REMIX-2540 for tracking


kubelet fails to start due to not being able to list instances

What happened:
While starting a worker node for EKS with eks-ami using the bootstrap.sh script, I am getting following error from the kubelet service:
May 13 13:24:09 ip-10-150-60-118 systemd: Starting Kubernetes Kubelet...
May 13 13:24:09 ip-10-150-60-118 systemd: Started Kubernetes Kubelet.
May 13 13:24:09 ip-10-150-60-118 systemd: Started Kubernetes systemd probe.
May 13 13:24:09 ip-10-150-60-118 systemd: Starting Kubernetes systemd probe.
May 13 13:24:09 ip-10-150-60-118 kubelet: I0513 13:24:09.765893    2517 server.go:425] Version: v1.15.11-eks-af3caf
May 13 13:24:09 ip-10-150-60-118 kubelet: W0513 13:24:09.766680    2517 plugins.go:118] WARNING: aws built-in cloud provider is now deprecated. The AWS provider is deprecated and will be removed in a future release
May 13 13:24:09 ip-10-150-60-118 kubelet: I0513 13:24:09.766790    2517 aws.go:1209] Zone not specified in configuration file; querying AWS metadata service
May 13 13:24:09 ip-10-150-60-118 kubelet: I0513 13:24:09.768554    2517 aws.go:1243] Building AWS cloudprovider
May 13 13:24:09 ip-10-150-60-118 kubelet: F0513 13:24:09.770889    2517 server.go:273] failed to run Kubelet: could not init cloud provider "aws": error finding instance i-0bc529351d56be2fe: "error listing AWS instances: \"NoCredentialProviders: no valid providers in chain. Deprecated.\\n\\tFor verbose messaging see aws.Config.CredentialsChainVerboseErrors\""
May 13 13:24:09 ip-10-150-60-118 systemd: kubelet.service: main process exited, code=exited, status=255/n/a

What you expected to happen:
I expected kubelet to start and register the instance as an worker node.
How to reproduce it (as minimally and precisely as possible):
Launch worker node with similar configuration.
Anything else we need to know?:
Environment:

AWS Region: eu-west-1 (Ireland)
Instance Type(s): t3.medium
EKS Platform version (use aws eks describe-cluster --name <name> --query cluster.platformVersion): eks.2
Kubernetes version (use aws eks describe-cluster --name <name> --query cluster.version): 1.15
AMI Version: amazon-eks-node-1.15-v20200507
Kernel (e.g. uname -a): Linux ip-10-150-60-118.eu-west-1.compute.internal 4.14.177-139.253.amzn2.x86_64 #1 SMP Wed Apr 29 09:56:20 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Release information (run cat /etc/eks/release on a node):

BASE_AMI_ID="ami-0ab1913ead3883bb5"
BUILD_TIME="Thu May  7 16:49:08 UTC 2020"
BUILD_KERNEL="4.14.177-139.253.amzn2.x86_64"
ARCH="x86_64"

Do you have an InstanceProfile attached to your node? The following Managed Policies need to be attached to your node:

AmazonEKSWorkerNodePolicy
AmazonEKS_CNI_Policy
AmazonEC2ContainerRegistryReadOnly

You can find more information in the official AWS EKS documentation.

Yes, these 3 policies are attached to the IAM role for the worker node. Initially they were missing, but I have added them since and re-launched the nodes multiple times with the issue still standing.
My next idea is to try a older version of the AMI to see whether that helps.

Do you have the following tag on your nodes?
key: kubernetes.io/cluster/${clusterName}
value: owned

Kubelet will not be able to discover the instance if it does not have this tag.

Yes, also the tags are in place. Both for the nodes as well as for the VPC/subnets.

This issue can be closed. The problem has solved, the problem was with the IAM Role associated to the worker nodes. Even through the 3 mentioned policies were attached to the role, the role itself was allowed to be assumed by EC2 instance. This kind of role can be attached to a EC2 instance without any warnings, but it seems that any policies given by the role make no difference.
Fixing the role fixed also the kubelet.

Hi @micsafi I am facing kind of same error on private worker nodes:
Mar 04 19:59:23 ip-10-1-30-189.mycorp.corp kubelet[4056]: F0304 19:59:23.617456    4056 server.go:265] failed to run Kubelet: could not init cloud provider "aws": error finding instance i-017b926b2b66c48db: "error listing AWS instances: "RequestError: send request failed\ncaused by: Post \"https://ec2.us-east-1.amazonaws.com/\\\": dial tcp: lookup ec2.us-east-1.amazonaws.com on <IP_ADDRESS>:53: no such host""

Have attached 3 Managed Policies mentioned before
Tag my worker nodes as kubernetes.io/cluster/${clusterName} owned
My cluster is a private EKS, deploying worker nodes on private network with NAT Gateway to reach Internet
I am able to reach any domain in the instace:

But not ec2.us-east-1.amazonaws.com
[root@ip-10-1-30-189 ~]# nslookup ec2.us-east-1.amazonaws.com
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Non-authoritative answer:
*** Can't find ec2.us-east-1.amazonaws.com: No answer

I am able to reach that name only when I add nameserver <IP_ADDRESS> in /etc/resolv.conf and kubelet is able to reach the instance to initiate the process.

Any suggestion, and how I could solve it?
Thanks.

Same issue here. Have you @jontambi figured out the cause?

Ok so my issue was related to VPC endpoint security group and I got it fixed now

Ok so my issue was related to VPC endpoint security group and I got it fixed now

@ngocketit do mind giving more details of how you fixed your VPC endpoint, please?

thanks @ngocketit !


from src/esphome/components/pipsolar/output/pipsolar_output.cpp:1:
src/esphome/components/pipsolar/output/../pipsolar.h:7:10: fatal error: esphome/components/pipsolar/select/pipsolar_select.h: No such file or directory
 #include "esphome/components/pipsolar/select/pipsolar_select.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from src/esphome/components/pipsolar/pipsolar.cpp:1:
src/esphome/components/pipsolar/pipsolar.h:7:10: fatal error: esphome/components/pipsolar/select/pipsolar_select.h: No such file or directory
 #include "esphome/components/pipsolar/select/pipsolar_select.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs\pvbrain\src\esphome\components\pipsolar\output\pipsolar_output.cpp.o] Error 1
*** [.pioenvs\pvbrain\src\esphome\components\pipsolar\pipsolar.cpp.o] Error 1
In file included from src/esphome/components/pipsolar/switch/pipsolar_switch.h:3,
                 from src/esphome/components/pipsolar/switch/pipsolar_switch.cpp:1:
src/esphome/components/pipsolar/switch/../pipsolar.h:7:10: fatal error: esphome/components/pipsolar/select/pipsolar_select.h: No such file or directory
 #include "esphome/components/pipsolar/select/pipsolar_select.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
*** [.pioenvs\pvbrain\src\esphome\components\pipsolar\switch\pipsolar_switch.cpp.o] Error 1
```

@andreashergert1984 Please use esphome::to_string instead of std::to_string to be ESP32 and ESP8266 compatible:
https://github.com/syssi/esphome-pipsolar/commit/9ad69999aa98e7b5448eeefb1d027d6595e7ba4b
Because ESP8266 compiles fine but the ESP32 build fails:
src/esphome/components/pipsolar/pipsolar.cpp: In member function 'virtual void esphome::pipsolar::Pipsolar::loop()':
src/esphome/components/pipsolar/pipsolar.cpp:130:31: error: 'to_string' is not a member of 'std'
           std::string value = std::to_string(value_output_source_priority_);
                               ^
src/esphome/components/pipsolar/pipsolar.cpp:130:31: note: suggested alternative:
In file included from src/esphome/components/binary_sensor/binary_sensor.h:5:0,
                 from src/esphome/components/pipsolar/pipsolar.h:3,
                 from src/esphome/components/pipsolar/pipsolar.cpp:1:
src/esphome/core/helpers.h:252:20: note:   'esphome::to_string'
 inline std::string to_string(const std::string &val) { return val; }
                    ^
*** [.pioenvs/pipsolar/src/esphome/components/pipsolar/pipsolar.cpp.o] Error 1

*** [.pioenvs\pvbrain\src\esphome\components\pipsolar\output\pipsolar_output.cpp.o] Error 1
*** [.pioenvs\pvbrain\src\esphome\components\pipsolar\pipsolar.cpp.o] Error 1
In file included from src/esphome/components/pipsolar/switch/pipsolar_switch.h:3,
                 from src/esphome/components/pipsolar/switch/pipsolar_switch.cpp:1:
src/esphome/components/pipsolar/switch/../pipsolar.h:7:10: fatal error: esphome/components/pipsolar/select/pipsolar_select.h: No such file or directory
 #include "esphome/components/pipsolar/select/pipsolar_select.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

The enhance_pipsolar_select branch cannot be compiled without a select: section at the yaml at the moment.

It seems to be a common problem with these converters do you have anything more reliable?
Hi @lucasimons
I used this one that arrived quick, and I didn't have to solder.  https://www.amazon.com/gp/product/B00LPK0Z9A

However, because they're female host side wired like what would be used for RPI side, I cross connected like a null modem to the serial cable to the inverter. I was lucky that I had two male 9 pin handy.
This would have been my preferred piece, but I didn't realize I ordered the wrong gender.  But I saw the qty 5 and clicked it late at night.. https://www.amazon.com/DZS-Elec-Converter-Connector-Programme/dp/B072KJSS5C
You can see that it is 3.3-5v compatible which runs nice and cool for me.

I recommend @jowser7 suggestion. Please make sure the board uses an MAX3232 (the 3.3v compatible version of the MAX232). Make sure to power the board with 3.3v because the input voltage is the TTL voltage. The ESP prefers 3.3v and isn't 5v tolerant.

@andreashergert1984 Please use esphome::to_string instead of std::to_string to be ESP32 and ESP8266 compatible:
9ad6999
Because ESP8266 compiles fine but the ESP32 build fails:
src/esphome/components/pipsolar/pipsolar.cpp: In member function 'virtual void esphome::pipsolar::Pipsolar::loop()':
src/esphome/components/pipsolar/pipsolar.cpp:130:31: error: 'to_string' is not a member of 'std'
           std::string value = std::to_string(value_output_source_priority_);
                               ^
src/esphome/components/pipsolar/pipsolar.cpp:130:31: note: suggested alternative:
In file included from src/esphome/components/binary_sensor/binary_sensor.h:5:0,
                 from src/esphome/components/pipsolar/pipsolar.h:3,
                 from src/esphome/components/pipsolar/pipsolar.cpp:1:
src/esphome/core/helpers.h:252:20: note:   'esphome::to_string'
 inline std::string to_string(const std::string &val) { return val; }
                    ^
*** [.pioenvs/pipsolar/src/esphome/components/pipsolar/pipsolar.cpp.o] Error 1

for sure.. this was just the first try... if everything works a cleanup will follow ;)
lG Andi

Do not feel pressured. We are trying to support you / make your work easier. :-)

When update will be official do I need to change something in code or just hit update button ? ;-)
My code:
substitutions:
name: pipsolar
esphome:
name: ${name}
platform: ESP32
board: esp32dev
wifi:
ssid: ***
password: ***
ota:
logger:
baud_rate: 0
mqtt:
broker: ***
port: 1883
username: ***
password: ***
uart:
id: uart0
baud_rate: 2400
tx_pin: GPIO1
rx_pin: GPIO3
pipsolar:
uart_id: uart0
id: inverter0
update_interval: 10s
sensor:

platform: pipsolar
pipsolar_id: inverter0
QPIGS
grid_voltage:
name: "${name} grid_voltage"
grid_frequency:
name: "${name} grid_frequency"
ac_output_voltage:
name: "${name} ac_output_voltage"
ac_output_frequency:
name: "${name} ac_output_frequency"
ac_output_apparent_power:
name: "${name} ac_output_apparent_power"
ac_output_active_power:
name: "${name} ac_output_active_power"
output_load_percent:
name: "${name} output_load_percent"
bus_voltage:
name: "${name} bus_voltage"
battery_voltage:
name: "${name} battery_voltage"
battery_charging_current:
name: "${name} battery_charging_current"
battery_capacity_percent:
name: "${name} battery_capacity_percent"
inverter_heat_sink_temperature:
name: "${name} inverter_heat_sink_temperature"
pv_input_current_for_battery:
name: "${name} pv_input_current_for_battery"
pv_input_voltage:
name: "${name} pv_input_voltage"
battery_voltage_scc:
name: "${name} battery_voltage_scc"
battery_discharge_current:
name: "${name} battery_discharge_current"
battery_voltage_offset_for_fans_on:
name: "${name} battery_voltage_offset_for_fans_on"
pv_charging_power:
name: "${name} pv_charging_power"

text_sensor:

platform: pipsolar
pipsolar_id: inverter0
device_mode:
name: "${name} device_mode"

last_qpigs:
name: "${name} last_qpigs"
last_qpiri:
name: "${name} last_qpiri"
last_qmod:
name: "${name} last_qmod"
last_qflag:
name: "${name} last_qflag"
binary_sensor:

platform: pipsolar
pipsolar_id: inverter0
add_sbu_priority_version:
name: "${name} add_sbu_priority_version"
configuration_status:
name: "${name} configuration_status"
load_status:
name: "${name} load_status"
battery_voltage_to_steady_while_charging:
name: "${name} battery_voltage_to_steady_while_charging"
charging_status:
name: "${name} charging_status"
scc_charging_status:
name: "${name} scc_charging_status"
ac_charging_status:
name: "${name} ac_charging_status"
charging_to_floating_mode:
name: "${name} charging_to_floating_mode"
switch_on:
name: "${name} switch_on"
silence_buzzer_open_buzzer:
name: "${name} silence_buzzer_open_buzzer"
overload_bypass_function:
name: "${name} overload_bypass_function"
lcd_escape_to_default:
name: "${name} lcd_escape_to_default"
overload_restart_function:
name: "${name} overload_restart_function"
over_temperature_restart_function:
name: "${name} over_temperature_restart_function"

switch:

platform: pipsolar
pipsolar_id: inverter0
output_source_priority_utility:
name: "${name} output_source_priority_utility"
output_source_priority_solar:
name: "${name} output_source_priority_solar"
output_source_priority_battery:
name: "${name} output_source_priority_battery"
input_voltage_range:
name: "${name} input_voltage_range"
pv_ok_condition_for_parallel:
name: "${name} pv_ok_condition_for_parallel"
pv_power_balance:
name: "${name} pv_power_balance"

output:

platform: pipsolar
pipsolar_id: inverter0
battery_recharge_voltage:
id: inverter0_battery_recharge_voltage_out

@Terrorr Three back ticks (`) are your friend to produce nice codeblocks:
example

To answer your question: As soon new features are ready and merged into esphome & official released you should update your local esphome install and re-flash your ESP. If you want to use new features (new entities) you have to extend your config yaml.

When update will be official do I need to change something in code or just hit update button ? ;-)
My code:
substitutions:
  name: pipsolar

esphome:
  name: ${name}
  platform: ESP32
  board: esp32dev

wifi:
  ssid: ***
  password: ***

ota:

logger:
  baud_rate: 0

mqtt:
  broker: ***
  port: 1883
  username: ***
  password: ***

uart:
  id: uart0
  baud_rate: 2400
  tx_pin: GPIO1
  rx_pin: GPIO3

pipsolar:
  uart_id: uart0
  id: inverter0
  update_interval: 10s
`
sensor:
  - platform: pipsolar
    pipsolar_id: inverter0

    # QPIGS
    grid_voltage:
      name: "${name} grid_voltage"
    grid_frequency:
      name: "${name} grid_frequency"
    ac_output_voltage:
      name: "${name} ac_output_voltage"
    ac_output_frequency:
      name: "${name} ac_output_frequency"
    ac_output_apparent_power:
      name: "${name} ac_output_apparent_power"
    ac_output_active_power:
      name: "${name} ac_output_active_power"
    output_load_percent:
      name: "${name} output_load_percent"
    bus_voltage:
      name: "${name} bus_voltage"
    battery_voltage:
      name: "${name} battery_voltage"
    battery_charging_current:
      name: "${name} battery_charging_current"
    battery_capacity_percent:
      name: "${name} battery_capacity_percent"
    inverter_heat_sink_temperature:
      name: "${name} inverter_heat_sink_temperature"
    pv_input_current_for_battery:
      name: "${name} pv_input_current_for_battery"
    pv_input_voltage:
      name: "${name} pv_input_voltage"
    battery_voltage_scc:
      name: "${name} battery_voltage_scc"
    battery_discharge_current:
      name: "${name} battery_discharge_current"
    battery_voltage_offset_for_fans_on:
      name: "${name} battery_voltage_offset_for_fans_on"
    pv_charging_power:
      name: "${name} pv_charging_power"

text_sensor:
  - platform: pipsolar
    pipsolar_id: inverter0
    device_mode:
      name: "${name} device_mode"
#    last_qpigs:
#      name: "${name} last_qpigs"
#    last_qpiri:
#      name: "${name} last_qpiri"
#    last_qmod:
#      name: "${name} last_qmod"
#    last_qflag:
#      name: "${name} last_qflag"

binary_sensor:
  - platform: pipsolar
    pipsolar_id: inverter0
    add_sbu_priority_version:
      name: "${name} add_sbu_priority_version"
    configuration_status:
      name: "${name} configuration_status"
    load_status:
      name: "${name} load_status"
    battery_voltage_to_steady_while_charging:
      name: "${name} battery_voltage_to_steady_while_charging"
    charging_status:
      name: "${name} charging_status"
    scc_charging_status:
      name: "${name} scc_charging_status"
    ac_charging_status:
      name: "${name} ac_charging_status"
    charging_to_floating_mode:
      name: "${name} charging_to_floating_mode"
    switch_on:
      name: "${name} switch_on"
    silence_buzzer_open_buzzer:
      name: "${name} silence_buzzer_open_buzzer"
    overload_bypass_function:
      name: "${name} overload_bypass_function"
    lcd_escape_to_default:
      name: "${name} lcd_escape_to_default"
    overload_restart_function:
      name: "${name} overload_restart_function"
    over_temperature_restart_function:
      name: "${name} over_temperature_restart_function"

switch:
  - platform: pipsolar
    pipsolar_id: inverter0
    output_source_priority_utility:
      name: "${name} output_source_priority_utility"
    output_source_priority_solar:
      name: "${name} output_source_priority_solar"
    output_source_priority_battery:
      name: "${name} output_source_priority_battery"
    input_voltage_range:
      name: "${name} input_voltage_range"
    pv_ok_condition_for_parallel:
      name: "${name} pv_ok_condition_for_parallel"
    pv_power_balance:
      name: "${name} pv_power_balance"

output:
  - platform: pipsolar
    pipsolar_id: inverter0
    battery_recharge_voltage:
      id: inverter0_battery_recharge_voltage_out

Three back ticks (`) are your friend to produce nice codeblocks:

Good to know 👍
Thanks !

I have also this kind of issue (not related with topic, sorry), maybe someone had the same and solve it ?
https://diysolarforum.com/threads/inverter-issue.33978/post-470410

I recommend @jowser7 suggestion. Please make sure the board uses an MAX3232 (the 3.3v compatible version of the MAX232). Furthermore you have to power the board with 3.3v because the input voltage is the TTL voltage. The ESP prefers 3.3v and isn't 5v tolerant.

I bought new converters and it works perfectly the only thing I haven't noticed is that I can't use two custom components together like this
external_components:
  - source: github://syssi/esphome-ant-bms@main
    refresh: 0s
  - source: github://andreashergert1984/esphome@test_newcrc
    refresh: 0s
    components: [pipsolar]

are there any particular limitations?

I use multiple external components "all the time". ;-) What's the error message? Why do you think it isn't working?

this is my error, if i use one external component, it works fine, but if i use 2 external component it is instable

If I can add my 2 grams salt ... I have 3 UART on the same ESP32.... and was a nightmare to have all working togather
Here are what's was working with my ESP32u
 ######### UART for the JKBMS ######
  - id: uart0
    tx_pin: GPIO01
    rx_pin: GPIO03
    baud_rate: 115200
    rx_buffer_size: 384
  ######### UART for PIPsolar/pip8048  aka Axpert max ######
  - id: uart1
    tx_pin: GPIO16
    rx_pin: GPIO17
    baud_rate: 2400
  ######### UART for the PZEMs ######
  - id: uart2
    tx_pin: GPIO19
    rx_pin: GPIO18
    baud_rate: 9600
    stop_bits: 2

I would like to do the same thing too in fact I have an esp32 dev where I connected a pzem and a victron regulator that have been working perfectly for 300 days, unfortunately at most 3 uart can be configured, then I would like to use the esp32dev to read the data from the pzem, victron and bms1, also use a d1 mini to read the data of the inverter and the second bms for a new battery that I have to assemble

I would like to do the same thing too in fact I have an esp32 dev where I connected a pzem and a victron regulator that have been working perfectly for 300 days, unfortunately at most 3 uart can be configured, then I would like to use the esp32dev to read the data from the pzem, victron and bms1, also use a d1 mini to read the data of the inverter and the second bms for a new battery that I have to assemble

perhape we should implement something for the SN74LV4052A .. which can be uses as a 4 channel UART Multiplexer..

Or DFR0627  (2x UART) via I2C : https://www.gotronic.fr/art-module-2-x-uart-vers-i2c-dfr0627-32237.htm

and interesting project like: https://www.instructables.com/SPI-to-4-x-UART-Bridge-MULTIUART/

Good day to all. Interesting reading. I would like to join the discussion.
Got Voltronic 12 V mmpt 1K and Voltronic 24 V mmpt 3K. Both working ok, serial ports ok.
For years now I interface with both with an adapted ( I am sure I can find the original Author again, here in Guthub ) C# program wich talks via an USB - RS232 standard cable.
I run this program every 2 minutes using windows automated task......
I am new to Home Assistant and ESPHome and , of course, want to conect directly with ESP8266 with updates every 15 seconds.....
No luck , have same problems I read in this threat
I offer my contributions to the matter. Just ask.
Greetings
Francisco
Chile
Off Grid and solar dependant....

Voltronic Axpert-VM MMPT 24 Volt 3 kW Inverter Charger
Command entered : "QPIGS" + crc
(001.0 00.0 228.0 50.0 0128 0128 004 406 28.75<PHONE_NUMBER> 0009 044.6 28.78 00000 10010110 00 04 00268 100
This is the string I am retreiving at this moment per C# console app in windows
I have identified sepparated by space in the string after character "(" :
ACV In , fHz In, ACV Out, fHz Out, AppPowerW, RealPower, Load%, BusV, BatteryV, ChargeAmp, BatterySOC, Temperature,
SolarpanelAmp, SolarpanelVolt, VScc????, DischargeAmp, S0?, S1?, S2?, S3?, S4?, S5?, S6?, S7?,
R1?, R2?, SolarPanelPowerWatt, R4?.
I have been uploading this information to a self hosted install of Emoncms software ( openenergy.org ) over an XAMPP install of Apache. This free software offers very powerfull graphing and historical data crunching.
Using ESPHome´s HTTP Get action , I already can upload Home Assistant info to this package also.
At the end , if Pipsolar on the 8266 works ok, it will be very valuable beacsuse of the fast update rate....I still want to upload its info to the Emoncms on a selected time basis.....
Greetings

Voltronic Axpert-VM MMPT 24 Volt 3 kW Inverter Charger Command entered : "QPIGS" + crc

@franciscoasencio
Welcome. I found these folks have been very helpful.
I wanted to to the same, but without jumping to home assistant because I'm still thinking what PC / SBD I'd want to run all the time.  Since it's mostly daytime charging and how much draw my family uses from the system, I just installed as simple as possible on my Windows PC that tends to be on for the day when my wife is using it.
I installed InfluxDB, mosquitto MQTT, and Telegraf.   It took me just a couple days to figure out how to use the mqtt topics and such, as it was my first time doing this.
The result is a time based database I can refer when I need. I also port forwarded my influx web service so I can check while away from the home.   We push the solar setup to its limit so that I squeeze the most power out in the day.  We do a few loads of laundry, run 3 gaming laptops and hepa filter during peak sun and last 4 ours I hope to get enough captured to run the PCs in the evening if I can.  I'm putting some transfer switches to the furnace AC to run that from solar too.
MPP PIP 2024LV-MK  with two Zooms LiFePO4 100Ah. Just added Juntek 104KF shunt that has bluetooth and RS485 port.
If you want any portion of my config files let me know.  I think MQTT as its already supported in pipsolar would be an easy route to pipe the data into your LAMP setup. Telegraf is easy enough to use, just have to get the topics right for the database you want to put it into.  I only grab the data that is meaningful for me to log, otherwise instantaeously I'll just pull up the embeded pipsolar esphome page.
Here's a screen shot my first daytime capture, cloudy overcast with some rain. only got 60% charged.

hI JOWSER7 nice charts you got there !! In fact , the Emoncms platform also supports broadcasting messages ( feed values ... ) over mqtt. I have not tried it out but you gave me the good idea....
I am still trying to interrogate the Inverter with an esp8266.
No luck until now.
Greetings
Francisco

@franciscoasencio Do you need support how to connect the RS232 to TTL converter module? Please provide some photos of your parts. :-)

Good day @syssi  , thank you for the offering. Can not provide actual pictures untill later, but I can illustrate...
I am using cable provided with Inverter , Have 3 of them. Al the same ...

With this cable and protocoll I have been polling the Inverter from Pc with C# app for years now.
For connecting esp8266 per esphome, since I am in the country and no possibilty to get a logic level shifter rs232 adapter quickly, i am using an old PIC40 proyect board wich has the connection and can be powered with 3.3. V. This board operated ok for long time.... I do not program PIC´s anymore...... Arduino obvious reasons...

The code, the log and sensor appearing in HA...

On connecting the running esp8266 to my contraption over USB-rs23 cable to Pc i get the QPIGS command  polling ok, checked with HEX output with CRC ok ( as per indicated in first picture).
Back to my present interrogation with C# code , the response from either inverter (1k 12V and 3k 24V is similar in structure and like ...
(001.0 00.0 228.0 50.0 0128 0128 004 406 28.75<PHONE_NUMBER> 0009 044.6 28.78 00000 10010110  00 04 00268 100
I have yet to check if talking to the esp8266 from the Pc I get something in the log....
Did try to include "external component...." thing , but no compilation possible.
I have been to your site with proposed modifications, although I do not code in c++ ( strictly ) , i understand the code and look ok for me...
Thank you all
Greetings
Francisco

With a friend of mine, we are developping a special PCB , i.e. the "PV Brain", supporting PIPsolar inverter + 1 BMS (JKBMS by preference) + 2 PZEM + Relays to control a ATS or/and PIPsolar power

Still in debug stage

@SeByDocKy congrats for the concept. While you are there , I would suggest include interface for typical CT clamps ( voltage signal ) as used in "emontx" a developement of openergymonitor.org https://github.com/openenergymonitor/emontx3.
here the schematics , look at  sensors  ....

The reason beeing that this PIP inverters firmware do not report power consuption below 80-100 w. Which is a pitty. For me in any case.....
In the pertinent circumsatnces , even an 8 watt load , always on 24/7 adds upp after 3-4 cloudy days. Depends on size of your battery bank of course.
Although I creep for having esp8266 report directly from the inverter and into HA , I do not want to abandon emontx - esp8266 - emoncsm combination.
Best wishes for your proyect
Greetings
Francisco

@SeByDocKy congrats for the concept. While you are there , I would suggest include interface for typical CT clamps ( voltage signal ) as used in "emontx" a developement of openergymonitor.org https://github.com/openenergymonitor/emontx3.
here the schematics , look at sensors ....
The reason beeing that this PIP inverters firmware do not report power consuption below 80-100 w. Which is a pitty. For me in any case.....
In the pertinent circumsatnces , even an 8 watt load , always on 24/7 adds upp after 3-4 cloudy days. Depends on size of your battery bank of course.
Although I creep for having esp8266 report directly from the inverter and into HA , I do not want to abandon emontx - esp8266 - emoncsm combination.
Best wishes for your proyect Greetings Francisco

There are 2 PZEM 004T V3 for that goal : one for the AC-inverter output, one for the AC-grid input.

Did try to include "external component...." thing , but no compilation possible.
I have been to your site with proposed modifications, although I do not code in c++ ( strictly ) , i understand the code and look ok for me...

Just some thoughts about your setup:

You don't need this improvements of this issue at the moment. The official pipsolar component would be fine at first because we must make sure the ESP is able to talk to the inverter properly. This can be achieved with and without the external component.

The max232 circuit of your olimex dev boards looks fine. Just keep in mind: Your are driving the max232 out of spec if you supply 3.3v instead of 5v. Don't supply 5v because the TTL at the RX/TX pins should be 3.3v to not harm your ESP.

Please enable the debug mode of the uart component at your yaml to be more verbose here. It looks like there is no incoming traffic at the moment. The ESP sends "QPIGS" and the response of the inverter never arrives. Try to swap RX/TX or check the data sheet of the max232 to be sure the ESP is connected correctly.

If you can configure emoncms to consume MQTT messages I recommend to publish all measurements via MQTT (by esphome). It's more lightweight as HTTP requests.

@SeByDocKy Allright. You´ve got it there ... AT first , I have not heard of PZEM component before , so I googled it and finished up with some Modbus/Rs485 devices and thought ....this is no good for me.... Looking closer now, there is also the direct to analog pin version , of course..... Congrats again, yours is some pretty interesting product.
@syssi Thank you for your interest. Next thing to do was powering the board with 5 v as I think I read in this same threat..... But before, have to check with the working Pc connection ( wich listens to the incoming QPIGS.... ) the other way around. Ok with external component , thanks for the heads up on your developement. I will shurely try emoncms to fire some mqtt again ( I have a new install in HA´s new host machine, maybe use latest version , mine is old one ...). The connection of the board should be ok , I have used it with PIC before. Will check again. Thank you again.
Greetings
Francisco

@SeByDocKy Talking of sensors..... Would you point me into some (cheap) Hall effect DC current sensor 0-5V output DC 50-100 Amp Split core or Diam of cable around 20 mm ? I have some 35 A max and diam of cable < 10mm No good ....... Thank you.

@SeByDocKy Talking of sensors..... Would you point me into some (cheap) Hall effect DC current sensor 0-5V output DC 50-100 Amp Split core or Diam of cable around 20 mm ? I have some 35 A max and diam of cable < 10mm No good ....... Thank you.

I installed that on my battery : https://fr.aliexpress.com/item/4000762882822.html?gatewayAdapt=glo2fra&spm=a2g0o.order_list.0.0.21ef5e5bQTIkUI
There is a UART port available .... but protocol need to be hacked I guess...

@SeByDocKy That is very interesting device. Integrating Ah .... hmmmm. It turns out that I have been looking at similar device but only A / V reading. Have in the basket for months..... But I havent confirmed that the sensor ( 3 cables ) puts out a 0-5 V signal ( Arduino/Nodemcu adc reading )
https://www.aliexpress.com/item/1005002991501965.html?spm=a2g0o.cart.0.0.40fb3c00SvOzNY&mp=1
Could you identify those 3 connections ? Both devices seem to be the same , only he processing is different..
Thank you
Greetings
Francisco

4. If you can configure emoncms to consume MQTT messages. I recommend to publish all measurements via MQTT (by esphome). It's more lightweight as HTTP requests.
@syssi
The emoncms Input API only accepts Http GET . Inputs are raw data you send vía GET. (Something "Curl" ????... also )  From the Inputs you generate the Feeds wich are the actual values you display/store. A powerfull processor with various options to manipulate Input data )
One of this options is to send the Feed value per Mqtt. Wich I now tested and proved to work with HA Mqtt addon. Thanks to @jowser7 for the impulse...

What I discovered accidentally is that given you have emoncms running , you can directly import the feeds values into HA. Like this in the main configuration yaml file.
`# Example configuration.yaml entry
sensor:

platform: emoncms
api_key: 0284b3b786c13b4fe16d1bc1854a6962
url: http://<IP_ADDRESS>:2024/emoncms
id: 1
unit_of_measurement: "W"
include_only_feed_id:

92
93
90
97
107
104
98
sensor_names:
92: "APP_Power_1"
93: "APP_Power_2"
90: "Batt 12"
97: "Batt 24"
107: "PVPower"
104: "Discharge"
98: "Charge"`

Just wanted to throw this in as per illustrating if someone can make use of it.
I take note that once I have esp8266 getting the values from the inverter directly, I will get rid of my precarious c# app . Wich, by the way , looks pretty similar as yours.... obviously , you send the command and listen/processwhat comes back in the serial port. Only mine is precarious.... he he
A pleasure to meet you all Sirs/Ladies and thank you for your help and conversation.
Greetings
Francisco

@SeByDocKy That is very interesting device. Integrating Ah .... hmmmm. It turns out that I have been looking at similar device but only A / V reading. Have in the basket for months..... But I havent confirmed that the sensor ( 3 cables ) puts out a 0-5 V signal ( Arduino/Nodemcu adc reading )
https://www.aliexpress.com/item/1005002991501965.html?spm=a2g0o.cart.0.0.40fb3c00SvOzNY&mp=1
Could you identify those 3 connections ? Both devices seem to be the same , only he processing is different..
Thank you Greetings Francisco

Seems to be more or less the same effectively. I can't say about this device, but on the one I linked before, thare are pads for GND, TX, RX.... so it's possible to solder something on them to start the hacking process.

Hi all guys, I tried to compile this fork again and got an error. I think after update last version of esphome...
INFO Reading configuration /config/esphome/solar2.yaml...
ERROR Unable to load component pipsolar.sensor:
Traceback (most recent call last):
File "/esphome/esphome/loader.py", line 162, in _lookup_module
module = importlib.import_module(f"esphome.components.{domain}")
File "/usr/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/config/esphome/my_components/pipsolar/sensor/init.py", line 76, in
CONF_GRID_RATING_VOLTAGE: sensor.sensor_schema(
TypeError: sensor_schema() takes from 0 to 1 positional arguments but 4 were given
Failed config
If I use the main pipsolar, every works fine except of value parser for PV voltage.
I think it is related to init.py
Someone can help?

@rem72 Which branch did you try to compile?

@franciscoasencio Please keep in mind: If you plug the ESP via the MAX232 to your PC this isn't the same as plugging the RS232 cable into the inverter (if I remember correctly). Do you remember the 0-modem-cable from the good old times? ;-) In one of the cases the RX/TX lines must be swapped.

@rem72 I've updated the "2424mse1" branch. Please try again!

Okay, now it's fine, thanks a lot!!!

@syssi Will keep in mind oh yess. Seems I am not going to have time to tinker untill tomorrow morning.... "The good old times......" Thanks for the help Sebastian. Alles Gute fúr Dich.

@andreashergert1984 can you add the switch to set the charging priority?

working on it.. was in corona-infection mode ;)
lG Andi

Get well! :-)

added charger_source_priority select like:
    charger_source_priority:
      id: inverter0_charger_source_priority_select
      name: inverter0_charger_source_priority_select
      optionsmap:
        "Utility first": "PCP00"
        "Solar first": "PCP01"
        "Solar and Utility": "PCP02"
        "Solar only": "PCP03"
      statusmap:
        "0": "Utility first"
        "1": "Solar first"
        "2": "Solar and Utility"
        "3": "Solar only"

@andreashergert1984 are you implemented this feature in the main branch?

added charger_source_priority select like:
    charger_source_priority:
      id: inverter0_charger_source_priority_select
      name: inverter0_charger_source_priority_select
      optionsmap:
        "Utility first": "PCP00"
        "Solar first": "PCP01"
        "Solar and Utility": "PCP02"
        "Solar only": "PCP03"
      statusmap:
        "0": "Utility first"
        "1": "Solar first"
        "2": "Solar and Utility"
        "3": "Solar only"

Hi @andreashergert1984
I think your custom select written by @andreashergert1984 could be modified to add the PBATCD with something like
  - platform: pipsolar
    pipsolar_id: pip8048
    charging_discharging_controls:
      id: charging_discharging_controls_select
      name: charging_discharging_controls_select
      optionsmap:
        "Charging enable/discharging enable": "PBATCD111"
        "Charging disable/discharging enable": "PBATCD110"
        "Charging enable/discharging disable": "PBATCD011"
        "Charging disable/discharging disable": "PBATCD010"
      statusmap:
        "0": "Charging enable/discharging enable"
        "1": "Charging disable/discharging enable"
        "2": "Charging enable/discharging disable"
        "3": "Charging disable/discharging disable"

PI5048 MGX +ESP32 NODEMCU + MAX3232 (ese+dn20) + official pipsolar component
Im trying get it working,but keep having response timeout in the log.
I try different baud rate,same result.
This is my Yaml file:
esphome:
name: inverter-connect
esp32:
board: nodemcu-32s
framework:
type: arduino
Enable logging
logger:
baud_rate: 0
Enable Home Assistant API
api:
ota:
password: xxxxxxxxxxxxxx"
wifi:
ssid: xxxxx
password:xxxx
Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: xxxxx
password: xxxxxx
captive_portal:
uart:

id: uart0
baud_rate: 9600
tx_pin: GPIO1
rx_pin: GPIO3

pipsolar:

uart_id: uart0
id: inverter0

sensor:

platform: pipsolar
pipsolar_id: inverter0
QPIRI

(i omiss the rest to shorten the message)
This my wiring:

Inverter is working fine with Solpiplog and with docker-voltronic-homeassistant.(I use qpiri=103 qpiws=40  qmod=5)
i cant understand where i m wrong...or this inverter not working with pipsolar.
Need some help plz

With a friend of mine, we are developping a special PCB , i.e. the "PV Brain", supporting PIPsolar inverter + 1 BMS (JKBMS by preference) + 2 PZEM + Relays to control a ATS or/and PIPsolar power. Connexion with PIPsolar inverter will be direct from a straight RJ45 cable.

Still in debug stage

Very nice...i m interested...did you go on with the project?
Would be nice to use the relays to connect to a capacitor to lower my Cell N.7..alwais peacking!
Unfortunatelly i have a Daly Bms...but probably I will buy a Jk Bms with active balance 2A.
Thanks

@ans-gw Could you provide some more photos? I cannot see the connection between the ESP and your MAX3232 board.

With a friend of mine, we are developping a special PCB , i.e. the "PV Brain", supporting PIPsolar inverter + 1 BMS (JKBMS by preference) + 2 PZEM + Relays to control a ATS or/and PIPsolar power. Connexion with PIPsolar inverter will be direct from a straight RJ45 cable.

Still in debug stage

Very nice...i m interested...did you go on with the project? Would be nice to use the relays to connect to a capacitor to lower my Cell N.7..alwais peacking! Unfortunatelly i have a Daly Bms...but probably I will buy a Jk Bms with active balance 2A.
Thanks

I am pretty sure that the PVbrain will work with a Daly or AntBMS and JBMS (thanks to @syssi for the ESPhome integration for the last two). There is an pcf able to control up to 16 relays....  so many many options can be done with.

With a friend of mine, we are developping a special PCB , i.e. the "PV Brain", supporting PIPsolar inverter + 1 BMS (JKBMS by preference) + 2 PZEM + Relays to control a ATS or/and PIPsolar power. Connexion with PIPsolar inverter will be direct from a straight RJ45 cable.

Still in debug stage

This is very interesting now I'm using two esp32 dev board d1 uno to control a inverter (with pipsolar component), a mppt victron (with victron component), two ant bms( with @syssi  component) and a pzem to control the ac output, 5 uarts need two esp32, I also use a 2 ch relay to control the ats and switch of Inveter

@ans-gw Could you provide some more photos? I cannot see the connection between the ESP and your MAX3232 board.

Esp32 Tx to Max 32322 Board Tx; and Rx to Rx. I try to swap rx to tx but same result.

Esp32 Tx to Max 32322 Board Tx; and Rx to Rx. I try to swap rx to tx but same result.

Do you power the MAX3232 board properly?

Esp32 Tx to Max 32322 Board Tx; and Rx to Rx. I try to swap rx to tx but same result.

Do you power the MAX3232 board properly?

Yes..3.3V from Esp32 pin

Could you compare the colors of the working RJ45 connector with the one of the photo above? Please make sure both have the same pinout colors: https://github.com/syssi/esphome-jnge-mppt-controller/blob/main/images/rj45-colors-t568a-vs-t568.png

Could you compare the colors of the working RJ45 connector with the one of the photo above? Please make sure both have the same pinout colors: https://github.com/syssi/esphome-jnge-mppt-controller/blob/main/images/rj45-colors-t568a-vs-t568.png

I made myself the Rj connector like 568B. both have same pinout

Hmm... your wiring sounds good. Please set the baudrate to 2400 baud and enable the debug output of the uart component by:
uart:
  - id: uart0
    baud_rate: 2400
    tx_pin: GPIO1
    rx_pin: GPIO3
    debug:
      direction: BOTH

You should see all uart traffic now at the logs. Please provide some logs. Does the inverter respond to any requests?

Hmm... your wiring sounds good. Please set the baudrate to 2400 baud and enable the debug output of the uart component by:
uart:
  - id: uart0
    baud_rate: 2400
    tx_pin: GPIO1
    rx_pin: GPIO3
    debug:
      direction: BOTH

You should see all uart traffic now at the logs. Please provide some logs. Does the inverter respond to any requests?

I will try...for now i made a new Rj45 connector.

Hmm... your wiring sounds good. Please set the baudrate to 2400 baud and enable the debug output of the uart component by:
uart:
  - id: uart0
    baud_rate: 2400
    tx_pin: GPIO1
    rx_pin: GPIO3
    debug:
      direction: BOTH

You should see all uart traffic now at the logs. Please provide some logs. Does the inverter respond to any requests?

MMm...inverter not respond...I posted Log
thank you for help...im not so skilled

Your skills are fine. :-) It's strange it doesn't work out of the box.

Your skills are fine. :-) It's strange it doesn't work out of the box.

Thanks....
I have some idea:
1 swap orage/white and orange on Rj45.
2 use another Max 32322 Board (i have a new one)
2 try with esp8266.
what you think?
any suggestion from you?

I like your next steps. Some additional ideas:

Swap the orange/white & orange cable
Swap the RX/TX cable between the ESP and MAX3232 module
Connect the UART pins of two ESPs (f.e. your ESP32 and your ESP8266) and send some serial traffic:

# uart-test-device1.yaml
substitutions:
  name: uart-test-device1
  tx_pin: GPIO1
  rx_pin: GPIO3

esphome:
  name: ${name}
  platform: ESP8266
  board: d1_mini

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

api:
ota:
logger:
  baud_rate: 0
  level: DEBUG

uart:
  baud_rate: 9600
  tx_pin: ${tx_pin}
  rx_pin: ${rx_pin}
  debug:
    direction: BOTH
    dummy_receiver: true

interval:
  - interval: 10s
    then:
      - uart.write: "${name}\r\n"

# uart-test-device2.yaml
<<: !include uart-test-device1.yaml

substitutions:
  name: uart-test-device2
  tx_pin: GPIO1
  rx_pin: GPIO3

Do you see incoming and outgoing traffic on both nodes?

Extend the test setup using two MAX3232 modules. Use a 0-modem-cable between the SUB-D connectors to cross RX/TX lines manually. Do you still see incoming & outgoing traffic?
Compare the Solpiplog setup with your pipsolar setup. What's different? Do you use RS232 or USB here? Do we know the baudrate for sure? What do you use at Solpiplog?

Now is working...
I swap white/orange and orange in the RJ45 connector:Pin1=orange Pin2= white/orange.
Now i can see all data in the Log,but not in home assistant!
Must add mqtt setting on esp32 code?

If you use Home Assistant you should use api instead of the mqtt component. You have to go to the HA integration page and add the esphome integration. If a new node is discovered at your network it will show up at the notification bar / discovered devices. You have to "accept/add" each new node. If the discovery doesn't work please add the node manually at the esphome integration tile.

I m using Ha,and Esphome is already installed..
discover already the ned node,and can see all sensor...but no data from sensors.
can you explain what need to write under api:
thanks for your help

There are two ways to connect an ESPHome node:

Using the native api component: https://esphome.io/components/api.html

It's enough if you add
api:

to your config.

Using the mqtt component. In this case the HA instance must be connected to the MQTT broker too.

It sounds like your node is connected properly already. Could you provide some logs of the ESPHome device?

Actually have already api:   without password..should add one?
This my yaml:
esphome:
name: newinverter-connect
esp32:
board: nodemcu-32s
framework:
type: arduino
Enable logging
logger:
baud_rate: 0      Question:shoul i take out "baud_rate: 0"
Enable Home Assistant API
api:
ota:
password: "xxxvvbbnngftfytytjtiee"
wifi:
ssid: bbbbbbbb
password: bbb123
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.xxx.xxx
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.xxx.xxx
# The subnet of the network. <IP_ADDRESS> works for most home networks.
subnet: <IP_ADDRESS>

If you add a password to the api component this password must be entered once if you add the node to your Home Assistant instance.
You've attached the pipsolar component to the standard UART GPIOs (GPIO1, GPIO3). If you remove baud_rate: 0 from the config yaml ESPHome will write log output to the standard UART. This will conflict with the pipsolar traffic. If you want to access the logs please use a network connection (f.e. esphome logs example.yaml).

Now is ok. I can see the data.Very good.I had to create a new Esp32 node in Esphome
I will try to add switch,and change iverter mode(POP01 ecc ecc).
And i have to replace sensor name into my Inverter dashboard in Ha...will be a long job...but i like my old dashboard.
Can I add Daly Bms into the same Esp 32? or better use other Esp 32?
Thank you so much for help.

You can use the Daly BMS component at the same ESP. No need for a second device.

I was planning to use that.
Would be nice to make an automation between Bms and inverter,something like:
when Bms Soc is 90% then "current_max_charging_current"=30;when Bms Soc 95% then "inverter stop charging".
Ill try do do but i dont know the command for "inverter stop charging".
When i finish i will post correct yaml file and correct wiring for all users.

In fact, as long as you are communicate sequentially with multiple devices, you can use 1 port and a bidirectional multiplexer or switch.

@see https://eu.mouser.com/c/?series=TMUX1309  or 74HC4052 series.

I see is missing "Inverter battery_discharge_current" no get any data! Inverter is PIP 5048 MGX,
with solpiplog is working...and is very important data. (i use EspHome Pipsolar) and is night so no solar imput:
I attach log:
[19:36:21][D][pipsolar:448]: Decode QPIGS
[19:36:21][D][sensor:125]: 'Inveter grid_voltage': Sending state 229.20000 V with 1 decimals of accuracy
[19:36:21][D][sensor:125]: 'Inveter grid_frequency': Sending state 50.00000 Hz with 1 decimals of accuracy
[19:36:21][D][sensor:125]: 'Inveter ac_output_voltage': Sending state 230.10001 V with 1 decimals of accuracy
[19:36:21][D][sensor:125]: 'Inveter ac_output_frequency': Sending state 49.90000 Hz with 1 decimals of accuracy
[19:36:21][D][sensor:125]: 'Inveter ac_output_apparent_power': Sending state 667.00000 VA with 1 decimals of accuracy
[19:36:21][D][sensor:125]: 'inverter0_ac_output_active_power': Sending state 486.00000 W with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter output_load_percent': Sending state 13.00000 % with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter bus_voltage': Sending state 366.00000 V with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter battery_voltage': Sending state 52.20000 V with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter battery_charging_current': Sending state 0.00000 A with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter battery_capacity_percent': Sending state 45.00000 % with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter inverter_heat_sink_temperature': Sending state 46.00000 °C with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter pv_input_current_for_battery': Sending state 0.00000 A with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter pv_input_voltage': Sending state 0.00000 V with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter battery_voltage_scc': Sending state 0.00000 V with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter battery_discharge_current': Sending state 0.00000 A with 1 decimals of accuracy
[19:36:22][D][sensor:125]: 'Inveter pv_charging_power': Sending state 0.00000 W with 1 decimals of accuracy
[19:36:22][D][pipsolar:838]: Sending polling command : QMOD with length 4
[19:36:22][D][pipsolar:772]: checking crc on incoming message
[19:36:22][D][pipsolar:775]: CRC OK
[19:36:22][D][pipsolar:471]: Decode QMOD
[19:36:22][D][text_sensor:067]: 'Inveter device_mode': Sending state 'B'
[19:36:23][D][pipsolar:838]: Sending polling command : QPIRI with length 5
[19:36:23][D][pipsolar:772]: checking crc on incoming message
[19:36:23][D][pipsolar:775]: CRC OK
[19:36:23][D][pipsolar:429]: Decode QPIRI
[19:36:23][D][sensor:125]: 'inverter0_grid_rating_voltage': Sending state 230.00000 V with 1 decimals of accuracy
[19:36:23][D][sensor:125]: 'inverter0_grid_rating_current': Sending state 21.70000 A with 1 decimals of accuracy
[19:36:23][D][sensor:125]: 'inverter0_battery_rating_voltage': Sending state 48.00000 V with 1 decimals of accuracy
[19:36:23][D][sensor:125]: 'inverter0_battery_recharge_voltage': Sending state 50.00000 V with 1 decimals of accuracy
[19:36:23][D][sensor:125]: 'inverter0_battery_under_voltage': Sending state 47.50000 V with 1 decimals of accuracy
[19:36:23][D][sensor:125]: 'inverter0_battery_bulk_voltage': Sending state 54.70000 V with 1 decimals of accuracy
[19:36:23][D][sensor:125]: 'inverter0_battery_float_voltage': Sending state 53.60000 V with 1 decimals of accuracy
[19:36:24][D][sensor:125]: 'current_max_ac_charging_current': Sending state 10.00000 A with 1 decimals of accuracy
[19:36:24][D][sensor:125]: 'current_max_charging_current': Sending state 40.00000 A with 1 decimals of accuracy
[19:36:24][D][sensor:125]: 'inverter0_output_source_priority': Sending state 2.00000  with 1 decimals of accuracy
[19:36:24][D][sensor:125]: 'inverter0_charger_source_priority': Sending state 3.00000  with 1 decimals of accuracy
[19:36:24][D][sensor:125]: 'inverter0_battery_redischarge_voltage': Sending state 52.00000  with 1 decimals of accuracy
[19:36:24][D][pipsolar:838]: Sending polling command : QPIGS with length 5
and also This not working
"charger_source_priority:"
id: inverter0_charger_source_priority_select
name: inverter0_charger_source_priority_select
optionsmap:
"Utility first": "PCP00"
"Solar first": "PCP01"
"Solar and Utility": "PCP02"
"Solar only": "PCP03"
statusmap:
"0": "Utility first"
"1": "Solar first"
"2": "Solar and Utility"
"3": "Solar only"

@syssi  One more working Pipsolar !!!! The secret was the MAX232 3V adapter. Thank you all. Another one to go for my  "master" Inverter Axpert 3k. This first one as prototype for the backup Inverter Axpert 1k wich takes care of my 12 V battery home system.... no more guessing....
I am really happy.
Greetings .
Francisco

I will note the most important info (response) here for the future:
# https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/40#issue-810836509
Inverter Pip-5048Mg Fw71.85 QPIRI=103...FW71.82=QPIRI=102
This my Qpigs answer:
Tue Feb 16 05:07:18 2021 INVERTER: QPIGS reply size (110 bytes)
Tue Feb 16 05:07:18 2021 INVERTER: QPIGS: 110 bytes read: (232.6 50.0 229.9 49.9 0391 0312 007 402 54.40<PHONE_NUMBER> 0042 284.6 00.00 00000 00010010 00 00 02901 010

Have this new value shows:00 00 02901 010
00=Battery voltage offset for Fan on
00=Eeprom version
02901=Pv In Power (THIS very important)
010= device status

Sorry,I no understand what you mean....
Can you use this   file diff: https://skyboo.net/temp/ha_local_docker_build_v2.diff
to get reading from 02901=Pv In Power and implement ?

I just added your payload + interpretation here because this is the relevant information to extend the ESPHome implementation here: https://github.com/syssi/esphome-pipsolar/blob/2424mse1/components/pipsolar/pipsolar.cpp#L449-L515


Replaced the reflection-docblock with version of barryvdh

Hello @barryvdh ,
Can you please consider this Pull Request if it makes sense to you.
Background:
We are on Laravel 4 but have want to use some library which demand 3.1 version of phpdocumentor/reflection-docblock and we get conflict on version 1.11 of ide-helper because it uses phpdocumentor/reflection-docblock": "2.0.4.
So  I noticed your latest master branch where you are using your own fork of barryvdh/reflection-docblock": "^2.0.4. So I branched out from 1.11 and checked your fork of reflection-dockblock which seems to be working fine with 1.11 also.
For me I've forked your branch already but it would be great if you can merge it too.
Thanks in Advance.
-Ahsan

Sure :)

Thanks a lot @barryvdh .

Hey @barryvdh sorry to bother you again, can you also increment in the tag and make it 1.11.7 , currently composer update will keep picking 1.11.6.


Breaks and Lunch parts show up multiple times in track

e.g. Lunch Lunch Lunch Lunch. - Once is enough, I guess.

Hehe... Yeah one is enough... Already working on this

Fixed !


[FEATURE] Include node/way/relation in the feature ID

Is your feature request related to a problem? Please describe.
As far as I can tell, for OpenStreetMap features, Planetiler uses the OSM ID for the MVT feature ID. However, it doesn't say whether it's a node, way, or relation, which is a problem because the IDs are not unique between those, i.e. there can be both a node #1000 and a way #1000.
Describe the solution you'd like
I'd like to have some kind of encoding in the feature ID to describe the source of the ID--OSM node, OSM way, Natural Earth, etc. This could be done, for example, using the lower 3 bits of the ID.
Describe alternatives you've considered
I tried patching the OpenMapTiles schema repo to include the OSM ID with type in a tag, but this incurs a heavy tile size increase (around 10% on the small extract I tried) because they're all mostly different.

I'll write what I've learned so far while troubleshooting #215 in regards to IDs , @msbarry will hopefully correct my mistakes and give some further feedback:

all IDs in the result (i.e. .mbtiles file) are allocated with AtomicLong idGenerator (calling incrementAndGet())
how that relates to your feature request: AFAIK source IDs usually do not make it into the result

one exception I've stumbled upon so far: Natural Earth features should have ne_id tag thanks to https://github.com/onthegomap/planetiler/blob/main/planetiler-core/src/main/java/com/onthegomap/planetiler/reader/NaturalEarthReader.java#L172

how that relates to #215: idGenerator is (also) called in multi-threaded stages, hence we're getting different IDs if generating same desired result twice from same source data
TL;DR: if we solve this in a certain way (maintaining source IDs, etc.), it should also help with #215

We can expose a setId method on Feature, alongside the existing getSourceId. That would provide a Profile-facing API to set the MVT id, but to make it useful we would also need to:

Expose whether something is an OSM node, way or relation through SourceFeature. We could assume points are nodes, and have a binary isRelation to distinguish polygons coming from ways or relations, but that would exclude cases where we might would to generate a Point geometry for a polygon label, or generate a centerline Line for a polygon label.

Store the OSM type as part of the 64-bit long. What I usually do is only use the bottom 53 bits of the long; we'd need 2 bytes (bits 52-53) to encode the enum: NOT_OSM, NODE, WAY, RELATION and the rest of the lower bits for the source ID. Using only 53 bits means working in JavaScript is easier. But this feels too specific and can be handled on the Profile side instead of being defaulted in planetiler-core.

If we want to track not only NOT_OSM but the specific Source, we would need some consistent ordering of Sources; Right now it seems like the main way to address a specific Source is by name e.g. osm, but if there was a stable integer index for each Source the profile's setId could use that to encode those into high bytes as well. (This could also be done by having a singleton mapping sourceName to an ID in the profile but that seems messy)

#514 should be all that is needed here; the actual construction of a feature ID from OSM IDs can be something like the below (not tested heavily):
long tile_feature_id;
      if (sourceFeature instanceof OsmSourceFeature osmFeature) {
        var element = osmFeature.originalElement();
        tile_feature_id = element.id();
        long elem_type;
        if (element instanceof OsmElement.Relation) {
          elem_type = 0x3;
        } else if (element instanceof OsmElement.Way) {
          elem_type = 0x2;
        } else { // is node
          elem_type = 0x1;
        }
        tile_feature_id |= (elem_type << 51);
      }

With the addition of setId on FeatureCollector I think this issue can be closed on planetiler-core - the specific way integer feature IDs are assigned is left up to the specific profile.
The default vector tile feature IDs should default to OSM IDs now, but with no distinguishing of nodes/ways/relations.

This is the default behavior as of #924


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter snmp for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.snmp
   -

:thumbsup: No errors found
SUGGESTIONS and WARNINGS:

[ ] :eyes: [W162] js-controller 5.0.0 listed as dependency but 5.0.19 is recommended. Please consider updating dependency at io-package.json.
[ ] :eyes: [W853] .npmignore found - consider using package.json object "files" instead.

Please review issues reported and consider fixing them as soon as appropiate.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
Note: This issue replaces issue #461
@mcm1957 for evidence

This issue has been replaced by new isse #463
This issue can be closed.
your
ioBroker Check and Service Bot


There is too much rebound in the splits

how to reduce the rebound in the splits?

I don't know what you mean by "rebound"

When the cells collide there is much rebound

But does "rebound" mean?

@PsycoYT https://github.com/Megabyte918/MultiOgar-Edited/issues/179#issuecomment-267880337


Upgrade to landscaper v0.90.0

What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Upgrade to landscaper v0.90.0

probably the test cluster was already sleeping. therefore the tests failed.


Missing modules

Hello there- It appears some modules are missing. I see the following warning when I  try to do"python setup.py install"
warning: no files found matching 'test_core' under directory 'simulator/hardwaresim'
warning: no files found matching 'HWsim' under directory 'simulator/hardwaresim'

Me,too

May be you should go to the directory "simulator/hardwaresim" and execute command "make" firstly.

When i try to run HWsim_test.cpp file i get error as no matching function for call to 'HWsim:CalculatePower()'.
Does anyone know how to properly go step by step to run this tool ?

https://github.com/thuime/XPEsim/issues/1#issuecomment-597461051
Me too.

https://github.com/thuime/XPEsim/issues/1#issuecomment-597461051
Me too.

Me too

Me too

May be you should go to the directory "simulator/hardwaresim" and execute command "make" firstly.

When i try to run HWsim_test.cpp file i get error as no matching function for call to 'HWsim:CalculatePower()'. Does anyone know how to properly go step by step to run this tool ?

Me too


TC-IDM-2.2  read-by-id for all supported cluster for the endpoint 1 reports invalid action

As per TC-IDM-2.2
4]<IP_ADDRESS>/10.6.3.
TH sends the Read Request Message to the TH.
The Message should read an attribute from all clusters at that Endpoint
AttributePath = [[Endpoint = Endpoint1, Attribute = AttributeID]]
On receipt of this message, DUT should send a report data action with the attribute value from all the clusters to the DUT
Verification step:
sudo ./chip-tool any read-by-id 0xFFFFFFFF 0 1 1
Outcome:
./chip-tool any read-by-id 0xFFFFFFFF 0 1 1
[1652382194.629414][18704:18709] CHIP:TOO: Sending ReadAttribute to:
[1652382194.629441][18704:18709] CHIP:TOO:         cluster 0xFFFF_FFFF, attribute: 0x0000_0000, endpoint 1
[1652382194.629484][18704:18709] CHIP:DMG: SendReadRequest ReadClient[0xffff70003f50]: Sending Read Request
[1652382195.122580][18704:18709] CHIP:DMG: StatusResponseMessage =
[1652382195.122645][18704:18709] CHIP:DMG: {
[1652382195.122696][18704:18709] CHIP:DMG:         Status = 0x80 (INVALID_ACTION),
[1652382195.122756][18704:18709] CHIP:DMG:         InteractionModelRevision = 1
[1652382195.122813][18704:18709] CHIP:DMG: }
[1652382195.122871][18704:18709] CHIP:IM: Received status response, status is 0x80 (INVALID_ACTION)
[1652382195.122934][18704:18709] CHIP:DMG: mResubscribePolicy is null

That is in fact an invalid action, because the attribute id is not a global attribute id.
See also https://github.com/CHIP-Specifications/chip-test-plans/issues/1314


Add missing method in KuduInsertTableHandle

This went missing due to a bad rebase before I merged the original change.

There're additional build failure.
[ERROR] /home/travis/build/prestosql/presto/presto-kudu/src/main/java/io/prestosql/plugin/kudu/KuduMetadata.java:[202,34] error: [MissingOverride] getTableMetadata implements method in ConnectorMetadata; expected @Override
    (see https://errorprone.info/bugpattern/MissingOverride)
  Did you mean '@Override public ConnectorTableMetadata getTableMetadata(ConnectorSession session, ConnectorTableHandle tableHandle)'?

https://travis-ci.com/prestosql/presto/builds/135581475

Hmm.. that's annoying. Is the only way to see the errors from errorprone to run the maven build? (@findepi?)

Is the only way to see the errors from errorprone to run the maven build

yes
when developing, intellij's inspections are even better
i wish we could run  intellij's inspections directly on travis, but this would require committing .iml files, which i don't want to do
that's why we cannot enable errorprone's default, we can enable only selected features of it


Its not working with state provider

Hi,
I added this in my angularjs app, used in a state.
In the state, provided the css.
But it is loaded in all of the (unrelated) states, instead of just the requisite state.

Can you provide a code sample of your index.html, app.js, etc.?

Yes, a plunker would help.

This has probably nothing to do with the issue of alimalik91. But I can confirm that angular-css doesn't work with the latest version of ui-router. (because of the deprecated $stateChangeSuccess event on the $rootScope)
You could workaround this issue by manually broadcasting a rootScope event:
`angular.module("app").run(["$rootScope", "$transitions", ($rootScope, $transitions) => {
$transitions.onSuccess({}, transition => {
    // Make UI router backwards compatible with angular-css
    $rootScope.$broadcast('$stateChangeSuccess', transition.to(), transition.params(), transition.from(), transition.params(), transition.options());
  });
}])`


SPARK verification to AoRTE

While the RP2040 will never be a high reliability chip, it would be nice to make some assertions about the quality of the driver code. At the moment, gnatprove bails out somewhere in usb_embedded due to some pointer/class dispatch ambiguity.
svd2ada will also need to be modified to add Effective_Reads and Async_Writers to most of the register definitions.
I don't view SPARK verification as a critical project, there are certain operations in rp2040_hal that will always be somewhat unsafe, like DMA transfers and checking clock frequencies- these cannot be statically verified without modeling the entire clock tree.

Elsa Ferrara recently did some work on formal verification of the rp2040_hal drivers. The blog post, Formal Proof on Device Drivers with SPARK examines a number of issues with the current implementation that make verification difficult.
I'm not convinced that this level of verification makes sense for the driver library without considering the application built upon it. Additionally, the changes needed for SPARK seem to make the code harder to read and reason about, which is a tradeoff I'm not ready to make.
I'm closing this issue for now, but I'm still open to discussion about it.


Add home page in the nav bar for easy navigation

if there is a home page in nav bar it would be easy for people to navigate to the  profiles page
I'd like to work on this
can you assign this to me??

we basically click on the recodehive on the left top to redirect the home page.


BabylonJS resources not disposed.

I've known that resource disposal was required: Labeling this a bug and enhancement.
The following BabylonJS objects referenced by BabylonjsCanvasComponent need to have their resources disposed when the parent components are destroyed:

BABYLON.Light
BABYLON.Camera
BABYLON.Scene
BABYLON.Engine

Per this link all resources attached to a BABYLON.Scene object will be disposed when scene.dispose() is called.

I was still seeing the and error in the Chrome console:
core.js:6014 ERROR TypeError:  Cannot read property 'globalPosition' of null
    at Function.e.BindEyePosition (babylon.js:16)
    at t.bindForSubMesh (babylon.js:16)
    at t.render (babylon.js:16)
    at t.render (babylon.js:16)
    at e.renderUnsorted (babylon.js:16)
    at e.render (babylon.js:16)
    at e.render (babylon.js:16)
    at t._renderForCamera (babylon.js:16)
    at t._processSubCameras (babylon.js:16)
    at t.render (babylon.js:16)

CAUSE: The ExplodedCubeComponent was not destroying the statically allocated BABYLON.StandardMaterial instances in class Box:

SOLUTION: The Box.initStaticMaterials() function is now matched by the Box.disposeStaticMaterials() called in the ExplodedCubeComponent.ngOnDestroy(): See OnDestroy.


top.c: fixed memory leaks, code indentation

Changes in psh.c PR #19

Thanks. I fixed it already in commit: 65027b23bca82e60b2505315c6f58beab23fd902.


Streams not supported

New Icecast-KH streams are using audio/aacp Content-Type, which browsers don't support.
So far I've tried using the <audio> element and the old jPlayer setup locally (in Firefox and Chrome) however, I always get this error in the console:

The HTTP Content-Type does not change based on the type parameter, with the exception of flv which returns the video/x-flv Content-Type.
Trying http://ice10.securestreamingsystems.net:80/DASH56?type=.mp3 in a REST client comes up with this result.
Flash stream players exist, like the delivery DASH uses, but I wouldn't use Flash as it is a deprecated technology and not implemented on any modern mobile devices, breaking the purpose of the project.
Opening this URI in VLC or similar players with streaming capabilities presents no problems. I'm thinking of adding a VLC protocol link rather than in-browser.

The stream always delivers audio/aacp. At the current time there is no HTML5 way to play audio/aacp without flash.

The wrapper is ADTS. jPlayer doesn't support it.
The only browser that supports it is IE/Edge.
VLC can open the URL, I've added a x-callback-url for it.

DASH have moved to ICE4 with MP3. Sweet!


Try-runtime offchain-worker snapshot must have url para?

 cargo run --features with-mandala-runtime --features try-runtime -- try-runtime --wasm-execution=compiled --block-at=0x9def608d5674f6d16574f53849218fe13d80ec1042ef7c2d4de7d4c50abab806 offchain-worker snap -s
snapshot.bin
    Finished dev [unoptimized + debuginfo] target(s) in 0.78s
     Running `target/debug/acala try-runtime --wasm-execution=compiled --block-at=0x9def608d5674f6d16574f53849218fe13d80ec1042ef7c2d4de7d4c50abab806 offchain-worker snap -s snapshot.bin`
2021-07-19 11:30:40 scraping key-pairs from state snapshot "snapshot.bin"
2021-07-19 11:30:40 extending externalities with 0 manually injected key-values
2021-07-19 11:30:40 injecting a total of 87704 keys
Error: Input("`WsClientBuilder` failed to build: Transport(Io(Os { code: 111, kind: ConnectionRefused, message: \"Connection refused\" }))")

The offchain-worker with snap must have url parameters？But the on-runtime-upgrade  with snap can work without url.

CC @kianenigma

yeah, this is expected for now. As the documentation says, the url is only used to fetch the header.

https://github.com/paritytech/substrate/blob/master/utils/frame/try-runtime/cli/src/lib.rs#L121


custom formatter

Hello
Can we add our customer formatter into git-code-format-maven-plugin or we have to use google's own formatter?
If we can do it , then could you please tell how to do that ?
Thank you for your helps
Regards

Hi,
Currently, you can only use Google Formatter.
But the code is modular enough to be able to use another formatter. It would "just" have to implement CodeFormatter interface.
What formatter did you have in mind? If it is a public and popular one, it could be added directly to the plugin.
If it is a formatter that you want to keep private or custom, the project would have to be modified to pull out CodeFormatter into a separate SPI module so that you can implement it and declare its implementation class as a parameter of the maven plugin.

Hello Reda-alaoui
Thanks for your kind response.
For example, I would like to give 10 indentation instead. of 5. Do you think I can provide it ?
As you said I want to keep it customer , so I should override methods inside CodeFormatter ? I do not understand how to do that . As I should extend it inside the project ?

If your goal is to customize Google Java Formatter indentation, you can't.
Google Java Format has been especially designed to be not customizable.
From https://github.com/google/google-java-format#using-the-formatter:

Note: There is no configurability as to the formatter's algorithm for formatting. This is a deliberate design decision to unify our code formatting on a single format.

That means I can skip some validations as adding or removing at configurations but for the indentations it's not possible

Well, maybe another way would be to reformat the Google Java Format output yourself.
You ask GCF to format, you take the output and modify its indentation.
But it looks like a daunting task if you are not a code formatter provider :)

Thank you for response. As a conclusion , I understand that I have to use google-java-formatter's formatter not custom one.
Thank you for your helps

You're welcome ;)


169 내가 공유한 꿈 공유 여부로 분류

Closes #169

Codecov Report

Merging #170 (c4af774) into main (1a3f1a6) will not change coverage.
The diff coverage is 50.00%.

@@            Coverage Diff            @@
##               main     #170   +/-   ##
=========================================
  Coverage     56.27%   56.27%
  Complexity      423      423
=========================================
  Files           136      136
  Lines          1672     1672
  Branches         10       10
=========================================
  Hits            941      941
  Misses          726      726
  Partials          5        5

Impacted Files
Coverage Δ

.../zamong/controller/dream/ShareDreamController.java
27.27% <0.00%> (ø)

...ce/dream/share/find/ShareDreamFindServiceImpl.java
64.06% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a3f1a6...c4af774. Read the comment docs.