<div dir="ltr">---<br><br>RPI01 (Master) 192.168.1.10<br><br>+VZMiddleware<br>+SOVZ<br><br>vzserver = "localhost"<br>vzpath = "middleware.php"<br>vzport = 80<br>GPIO0 = "8587f220-ed9d-11e2-979f-8393c84dea3c";<br>
GPIO1 = "99ce4800-ed9d-11e2-8ee1-fb49cacf8315";<br>GPIO2 = "a85707e0-ed9d-11e2-9940-712ad4992b6a";<br>GPIO3 = "cae74980-ed9d-11e2-87f5-3dc2df2af51c";<br>GPIO4 = "e5729400-ed9d-11e2-8fab-a7d2e537c21d";<br>
GPIO5 = "0287db40-ed9e-11e2-96a5-f360a7599cfc";<br><br>---<br><br>RPI02 (Slave) 192.168.5.25<br><br>+SOVZ<br><br>vzserver = "192.168.1.10"<br>vzpath = "middleware.php"<br>vzport = 80<br>GPIO0 = "6d47a720-f397-11e2-95f1-4739fa4d1d21";<br>
GPIO1 = "a7bf6550-f397-11e2-8acd-f35628711a69";<br>GPIO2 = "7ebb6720-f397-11e2-836e-b308154a7d5b";<br>GPIO3 = "905f21c0-f397-11e2-b5da-3f1caa86d699";<br>GPIO4 = "c4127a00-f397-11e2-bd05-211eb7d9938c";<br>
GPIO5 = "";<br><br><br><div class="gmail_quote">---------- Weitergeleitete Nachricht ----------<br>Von: <b class="gmail_sendername">infosht</b> <span dir="ltr"><<a href="mailto:info@shtark.info">info@shtark.info</a>></span><br>
Datum: 27. Juli 2013 14:09<br>Betreff: [vz-dev] Workaround at 2 x RPi-Extention<br>An: "<a href="http://volkszaehler.org">volkszaehler.org</a>" <<a href="mailto:volkszaehler-dev@lists.volkszaehler.org">volkszaehler-dev@lists.volkszaehler.org</a>><br>
<br><div class="gmail_quote">THX 4 feedback<div><br></div><div>sorry kann ich natürlich besser in deutsch </div><div>hab irgenwie die Anleitung auf english 4 der Nase gehabt.</div><div><br></div><div>ALso die UUID sind definiert wie gesagt befinden sich auch in der DB im S0VZ-1</div>
<div><br></div><div>und in der s0VZ.conf (zur zeit laufen beide Systeme autark, middelware läuft)</div><div><br></div><div>(das ist neu vzserver/vzport/vzpath < -- muss ich mal schauen)</div><div><br></div>
<div>Hatte vorher mit Udo gemailt und er gab mir den Tip hier in der maillinglist zu posten</div><div><br></div><div>tiefere INFOS:</div><div><br><u>zwei RPI-Extender über ein Web-Frontend</u></div><div>wie übergebe ich den einen Server mit der DB die Daten von S0-7 bis S0-12 .?</div>
<div><br></div><div>Nachdem ich die S0-7 bis S0-12-UUID auf S0VZ-1 ertstellt habe, habe ich SIe in </div><div><div>die config s0vz.con auff S0VZ-2 mit der Adresse vom ersten Server eingegeben:</div><div><br></div><div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
/* Hostname, FQDN or IP of your VZ - normaly this should be 'localhost' */</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">#vzserver = "localhost"</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">vzserver = "192.168.178.92"</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">/* Path to the VZ middleware.php script, WITHOUT preposed and trailing slash */</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
vzpath = "middleware.php"</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif"><br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
/* HTTP Port of your VZ */</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">vzport = 80</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
<br></div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">/* Define S0 inputs here, use these types in volkszaehler frontend */</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
/* Channel type: Strom_messer for S0 PowerMeters */</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">/* Gas for Gas-Meters via reed sensor or direct (Style: steps) */</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">#GPIO0 = "8587f220-ed9d-11e2-979f-8393c84dea3c";</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
#GPIO1 = "99ce4800-ed9d-11e2-8ee1-fb49cacf8315";</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">#GPIO2 = "a85707e0-ed9d-11e2-9940-712ad4992b6a";</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">#GPIO3 = "cae74980-ed9d-11e2-87f5-3dc2df2af51c";</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
#GPIO4 = "e5729400-ed9d-11e2-8fab-a7d2e537c21d";</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">#GPIO5 = "0287db40-ed9e-11e2-96a5-f360a7599cfc";</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">GPIO0 = "6d47a720-f397-11e2-95f1-4739fa4d1d21";</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
GPIO1 = "a7bf6550-f397-11e2-8acd-f35628711a69";</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">GPIO2 = "7ebb6720-f397-11e2-836e-b308154a7d5b";</div>
<div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">GPIO3 = "905f21c0-f397-11e2-b5da-3f1caa86d699";</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">
GPIO4 = "c4127a00-f397-11e2-bd05-211eb7d9938c";</div><div style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">GPIO5 = "";</div></div></div><div><br>
</div><div><br></div><div>Kam leider nur 6 x S0 igendewelche im Web-Frontend raus.</div><div><br></div><div>Irgend eine Idee ?</div></div></div><br></div>