Forum Replies Created

Viewing 12 posts - 16 through 27 (of 27 total)
  • Author
    Posts
  • in reply to: uRADMonitorX #2083
    Steve
    Participant

    Excellent, I’ll give it a try a bit later on. Thanks.

    in reply to: uRADMonitorX #2053
    Steve
    Participant

    I have my router forwarding port 8080 to the uRadMonitor and a static public IP so IP:port would work for me too.

    in reply to: uRADMonitorX #2020
    Steve
    Participant

    That’s pretty cool. Thanks for sharing it.

    uradx

    in reply to: Radiation vs Weather #1952
    Steve
    Participant

    My graphs are generated by Highcharts ( http://www.highcharts.com/ )

    All my monitoring is running on a Raspberry Pi Model B 2. It seems to cope with the load and it doesn’t use much power.

    I used to use a weather station like you have (WH1080) with WeeWx, but upgraded to the WH3080 for the UV and Solar Radiation data, but there’s something wrong with my sensors and the data is useless, so I don’t even display them on the current observations page.

    Steve.

    in reply to: Radiation vs Weather #1949
    Steve
    Participant

    Looks good David.

    You’re just sightly north of me. I’m #11000061

    I’ve just started gathering my uRad data into a MySQL database but display it independently to my weather station data. I’d like to incorporate my radiation data with my weather data but it exceeds my skills at present, but I’m working on it.

    I’m going to try and work with your Python script, thanks for sharing it.

    My PHP script I’m currently using is:

    <?php
        //connect to mysql db
        $con = mysql_connect("localhost","myDatabase","myPassWord") or die('Could not connect: ' . mysql_error());
        //connect to the urad database
        mysql_select_db("myDatabase, $con);
    
        //read the json file contents
        $jsondata = file_get_contents('http://uradmonitor-61/j');
        
        //convert json object to php associative array
        $data = json_decode($jsondata, true);
        
        //get the data
        $id = $data['data']['id'];
        $type = $data['data']['type'];
        $detector = $data['data']['detector'];
        $cpm = $data['data']['cpm'];
        $temperature = $data['data']['temperature'];
        $uptime = $data['data']['uptime'];
        $timestamp = date('Y-m-d H:i:s', time());
        
        //insert into mysql table
        $sql = "INSERT INTO data(id, type, detector, cpm, temperature, uptime, timestamp)
        VALUES('$id', '$type', '$detector', '$cpm', '$temperature', '$uptime', '$timestamp')";
        if(!mysql_query($sql,$con))
        {
            die('Error : ' . mysql_error());
        }
    ?>
    
    

    So far it looks like this-> http://wotid.dyndns.org/solarhtml/radiation.php

    Regards,

    Steve

    • This reply was modified 8 years, 11 months ago by Steve. Reason: Security
    in reply to: Converting json data to dosage values? #1919
    Steve
    Participant

    Thanks Dave,

    I’ll have to work something out for the first row. I think I got it, constructive criticism welcome, I haven’t double checked it 🙂

    Regards,

    Steve. (The hack).

    in reply to: IE 11 and Windows 8.1 #1918
    Steve
    Participant

    uradmonitor.com doesn’t work properly on my Windows 7 machine with IE11 either.

    Not only no location markers, if I try https://www.uradmonitor.com/?open=11000061 I don’t get my monitor data overlaid either. (MSE doesn’t complain though).

    I run with Chrome and all is OK.

    Regards,

    Steve.

    in reply to: Fritz!Box router problems #1636
    Steve
    Participant

    I can’t really help and have no suggestions, but my setup works ok and is:

    I have my Raspberry Pi2 on port 80 (serving my web pages) and it is port 80 on my router.

    My uRadMonitor is accessible on port 8080 externally using port forwarding on my router to port uRadMonitor port80.

    I also have some other software on port 3837 port forwarded to port 3837 via my router too.

    They all work together just fine. When I hadn’t redirected incoming 8080 traffic to the uRadMonitor it was still transmitting data to the uRadMonitor server just fine even though my RPi had port 80 tied up and was serving pages.

    Normally only if someone wanted to view the uRadMonitor webpage or json data externally would they need to worry about port forwarding / router changes. Inernally the IP address should be just fine.

    e.g. depending local network settings, and to view data locally, it shouldn’t affect uploads to servers by each device.

    192.168.0.1 = router (port 80)
    192.168.0.3 = RPi (port 80)
    192.168.0.5 = Arduino (port 80)
    192.168.0.9 = uRadmonitor (port 80)

    Then using port forwarding rules in the router to access externally the addresses would be

    my_fixed_IP = Rpi
    my_fixed_IP:8080 = uRadMonitor
    my_fixed_IP:3837 = Inverter Data

    in reply to: No station in map #1631
    Steve
    Participant

    I have now I seen what Paul.P sees. But a few minutes later everything is OK. It must be a temporary issue. URADMonitor or Google, who knows.

    in reply to: No station in map #1629
    Steve
    Participant

    All good here too. (as of the GMT timestamp for this post).

    Attachments:
    in reply to: What is the maximum value for "Uptime" #1420
    Steve
    Participant

    Thanks Radu,

    As much as I’d like to see that, I don’t think I will 🙂

    Steve.

    in reply to: Introduce Yourself! #1414
    Steve
    Participant

    Hi, I’m Steve and have unit 11000061 West of Melbourne Australia.

    David, I have a weather station up and running on a Raspberry Pi 2 and hope to one day learn enough Python to be able to parse the json data, store it and be able to display in in WeeWx along with my weather data too. (But I’m still on chapter 1 of learning Python 🙂 )

Viewing 12 posts - 16 through 27 (of 27 total)