Open jasmt-us opened 4 years ago
Struggling to get baseline working.
1) Cloned Repo 2) composer update 3) npm install 4) edited config/mqtt.php 5) created .env from default and modified APP and DB settings
modified (for my sanity - but was not working before either) the following two lines to look like:
Route::get('/mqtt/pub/{topic}/{message}', 'MqttExampleController@SendMsgViaMqtt'); Route::get('/mqtt/sub/{topic}', 'MqttExampleController@SubscribetoTopic');
For subscription - blank screen, and for publish:
"The Response content must be a string or object implementing __toString(), "boolean" given."
Any suggestions/guidance appreciated.
Would love a tutorial on setting this up....
yes
+1
Struggling to get baseline working.
1) Cloned Repo 2) composer update 3) npm install 4) edited config/mqtt.php 5) created .env from default and modified APP and DB settings
modified (for my sanity - but was not working before either) the following two lines to look like:
Route::get('/mqtt/pub/{topic}/{message}', 'MqttExampleController@SendMsgViaMqtt'); Route::get('/mqtt/sub/{topic}', 'MqttExampleController@SubscribetoTopic');
For subscription - blank screen, and for publish:
"The Response content must be a string or object implementing __toString(), "boolean" given."
Any suggestions/guidance appreciated.